Re: Tomcat configuration question

From: DaiIchi (daiichi_at_agentnews.test.xhome.us)
Date: 11/25/03


Date: Mon, 24 Nov 2003 19:53:21 -0800

On Mon, 24 Nov 2003 19:38:01 -0000, "PerfectDayToChaseTornados"
<pdtct@emailaddress.invalid> wrote:

>
>"DaiIchi" <daiichi@agentnews.test.xhome.us> wrote in message
>news:6243sv4542u8k9u3oqtomlv1rhr0ia8due@4ax.com...
>|
>| I'm using Tomcat in standalone mode. When a URL without a filename is
>| entered into the browser (ie. "http://myhost.mydomain.com"), and the
>| default path does NOT have an index.html, but rather an index.jsp
>| file, Tomcat response with an "HTTP/1.1 302 Moved Temporarily" and a
>| "Location: http://myhost.mydomain.com/index.jsp" ... I was wondering
>| if there is a configuration for tomcat that can stop this behavior,
>| i.e., just run index.jsp?
>|
>
>Yes, you can set up the welcome file using web.xml see the dtd
>http://java.sun.com/j2ee/dtds/web-app_2_2.dtd

Thanks, but the issue isn't the welcome file. The problem is that
Tomcat returns a 302 error to force the browser to redirect to the
"real" page. And there is no way in Tomcat 4.1 to turn it off.



Relevant Pages

  • Re: Tomcat configuration question
    ... >>| I'm using Tomcat in standalone mode. ... When a URL without a filename is ... because I use Tomcat 4.1.29 and when I point my browser to ...
    (comp.lang.java)
  • Re: Tomcat configuration question
    ... | I'm using Tomcat in standalone mode. ... When a URL without a filename is ... you can set up the welcome file using web.xml see the dtd ...
    (comp.lang.java)
  • Tomcat configuration question
    ... I'm using Tomcat in standalone mode. ... When a URL without a filename is ... entered into the browser, ...
    (comp.lang.java)
  • Re: Tomcat configuration question
    ... >I'm using Tomcat in standalone mode. ... When a URL without a filename is ... Rumor has it that this problem was fixed in Tomcat 5. ...
    (comp.lang.java)
  • Mobile phone "SAVE" filename problem related to servlet
    ... user views a file by browsing to a servlet at tomcat ... the servlet code: ... filename is not the one set on the Header => filename, ... Prev by Date: ...
    (comp.lang.java.programmer)