"Rashmi Rubdi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 5/5/07, Kevin O'Mara <[EMAIL PROTECTED]> wrote:
>> I am using tomcat5 5.5.20, Revision 3, java/tomcat5 from MacPorts.
>>
>> I am following the instructions for the Addison Wesley book: "Servlets
>> and JavaServer Page
"Leonard Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> To all,
>
> I'm running Tomcat 5.5 on linux and I'm running into a problem with
> URLs. I have a directory in my webapp called "help" with an index.html
> in that directory. If I goto the URL http://foo.bar/help I get a
Good Afternoon Len
Thanks for the explanation
I believe you will find the information you're looking for here inside
web.xml
default
/
In other words / is actually mapped to servlet-name of 'default'
default
org.apache.catalina.servlets.DefaultServlet
Martin,
The difference between the two URLs is the trailing "/" character.
With Apache httpd I can specify the URL http://foo.bar/help/ and
http://foo.bar/help and I will get the index.html under the help
directory.
With Tomcat the first URL, with the trailing slash, will return the
index.html.
the URLs look identical???
inside /WEB-INF/web.xml you *should* see a welcome-file-list
index.jsp
This should be the file displayed when the webapp is loaded
Is this not the case???
Thanks
Martin
This email message and any files transmitted with it contain confidential
information intend
To all,
I'm running Tomcat 5.5 on linux and I'm running into a problem with
URLs. I have a directory in my webapp called "help" with an index.html
in that directory. If I goto the URL http://foo.bar/help I get a 404
and the index.html is not loaded. However if I goto the URL
http://foo.bar/help/
Thank you, Mladen. It works now. :-)
Bertrand
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]