Re: Tomcat configuration question
From: DaiIchi (daiichi_at_agentnews.test.xhome.us)
Date: 11/25/03
- Next message: Hal Vaughan: "Compiling -- Can I Control Where .java and .class Files Are Kept?"
- Previous message: Raymond DeCampo: "Re: Using Copy (Ctrl-C) functionality with disabled JTextFields"
- In reply to: PerfectDayToChaseTornados: "Re: Tomcat configuration question"
- Next in thread: Herman Timmermans: "Re: Tomcat configuration question"
- Reply: Herman Timmermans: "Re: Tomcat configuration question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Hal Vaughan: "Compiling -- Can I Control Where .java and .class Files Are Kept?"
- Previous message: Raymond DeCampo: "Re: Using Copy (Ctrl-C) functionality with disabled JTextFields"
- In reply to: PerfectDayToChaseTornados: "Re: Tomcat configuration question"
- Next in thread: Herman Timmermans: "Re: Tomcat configuration question"
- Reply: Herman Timmermans: "Re: Tomcat configuration question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|