I'm using Tomcat 5.0.16 and I'm trying to make it so that if a user enters a
path like, http://myserver/myapp it runs a default servlet for that path.
According the the Servlet 2.4 spec, you can do this by mapping / to a
servlet. However, for me, it's just printing out a directory listing of the
).
As for directory listings, read the FAQ.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 1:23 PM
To: Tomcat User List
Subject: Default servlet mapping not working in Tomcat 5.0.16?
I'm using Tomcat
]
Sent: Friday, December 12, 2003 1:23 PM
To: Tomcat User List
Subject: Default servlet mapping not working in Tomcat 5.0.16?
I'm using Tomcat 5.0.16 and I'm trying to make it so that if a user
enters
a
path like, http://myserver/myapp it runs a default servlet for that
path.
According
with that...
Thanks, Jon
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 1:31 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
In version 5x you could also set a servlet to be your welcome file
PROTECTED]
Sent: Friday, December 12, 2003 1:31 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
In version 5x you could also set a servlet to be your welcome file.
On Friday 12 December 2003 01:45 pm, Shapira, Yoav wrote:
Howdy,
The / mapping is taken by default servlet
using a redirect.
Thanks, Jon
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:01 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
The welcome file list actually has to point
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:01 PM
Subject: Re: Default servlet mapping not working in Tomcat 5.0.16?
The welcome file list actually has to point to a servlet mapping.
Here is mine. It works.
2296
2297 servlet-mapping