I am rewriting the same thing You don't mention having compiled the servlet class, which is required
for Tomcat to load it. Out of the box, the container won't do that for you. (It will only compile JSPs, not raw Java .class files.)
you have to make sure that under
webaps
yourProject
WEB-INF
class(here your class file(servlets) has to be present in order to be loaded; you can keep HelloWWW.java here but HelloWWW.class has to be there)
lib
what you are missing is compilation and adding serlets tag in web.xml and sme changes in server.xml
it is worth trying!!!!
you need to configure your IDEs out-path to above "class" under WEB-INF.
do some changes like context tag in server.xml and add web.xml after seeing links below
links:
http://www.onjava.com/ look for servlets article
http://www.sitepoint.com/article/java-servlets-1/3
http://www.oreilly.com/catalog/eclipse/chapter/ch09.pdf
vimal
----- Original Message ----- From: "Vaishali Bhirud" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, October 31, 2004 4:58 AM
Subject: Re: Mapping Servlets
ant builds servlets and jsps everything. That is why I have mentioned that I am using ant to build my application.
Thanks,
: I have a servlet named HelloWWW which is under src directory of : (src created by ant) : : src/vjsp/HelloWWW.java : [snip: web.xml listing] : : resource /vjsp/HelloWWW not found : : Is there something else I have to do other than mapping servlets.
>> -QM
--
software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
