Re: Tomcat configuration question
From: DaiIchi (daiichi_at_agentnews.test.xhome.us)
Date: 11/24/03
- Next message: Brad BARCLAY: "Re: Using Copy (Ctrl-C) functionality with disabled JTextFields"
- Previous message: Michael: "Selectable channels"
- In reply to: DaiIchi: "Tomcat configuration question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 Nov 2003 14:16:28 -0800
On Sun, 23 Nov 2003 21:02:59 -0800, DaiIchi
<daiichi@agentnews.test.xhome.us> wrote:
>
>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?
>
Answer to my own question. I was using Tomcat 4.1.x... and with that
version, it is impossible. With Tomcat 3, you can use the
StaticInterceptor useInternal="true". But Tomcat 4 doesn't support
any such thing.
You can fix this by modifying the DefaultServlet, but that's about it.
Rumor has it that this problem was fixed in Tomcat 5. Does anyone
know if it is?
- Next message: Brad BARCLAY: "Re: Using Copy (Ctrl-C) functionality with disabled JTextFields"
- Previous message: Michael: "Selectable channels"
- In reply to: DaiIchi: "Tomcat configuration question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|