You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edd Dawson <E....@derby.ac.uk> on 2004/06/09 15:28:45 UTC
Advice needed on deploying on Tomcat 5.0.25
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@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org