Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Advice needed on deploying on Tomcat 5.0.25

Edd Dawson

2004-06-09


Hi

I recently installed Tomcat 5.0.25 on my windows laptop.


I did have 4.x installed and i copied over my faithful HelloWorld
example from 4.x/webapps directory to my new 5.0.25/webapps directory..

and it doesn't work! I get the following error :

HTTP Status 404 - /hello/servlet/HelloWorld

--------------------------------------------------------------------------------

type Status report

message /hello/servlet/HelloWorld

description The requested resource (/hello/servlet/HelloWorld) is not
available



It still works fine on 4.x.

So i tried putting the class file in the /class directory of the
servlets-examples webapp that came with 5.0.25 and it didn't work until
i added its details the web.xml for that app.

Now do i HAVE to have a web.xml now i am using 5.0.25 ? as with 4.x it
wasn't a requirement.

cheers
Edd Dawson

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.