File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet class file in tomcat4.0.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet class file in tomcat4.0.6" Watch "Servlet class file in tomcat4.0.6" New topic

Servlet class file in tomcat4.0.6

feroz muhamed
Ranch Hand

Joined: Nov 15, 2003
Posts: 87
please help me in this,
I have an html page (in C:\tomcat\webapps\dev\test.html).test.html form action is on testser servlet. servlet classfile is on C:\tomcat\webapps\dev\web-inf\classes.But when test.html's submit button clicks the requested resource(testser) is not available error shows.also set classpath to c:\tomcat\common\lib\servlet.jar. from C:\tomcat\webapps\dev\web-inf\classes.
what is the problem here?
feroz muhamed
Ranch Hand

Joined: Nov 15, 2003
Posts: 87
sorry to disturb,
I got after i changed my action to \dev\servlet\testser. here actually no servlet folder.simply the servlet class file is on webapps\dev\web-inf\classes.but i don't know how this happened.
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
you access servlet like this if you have not specified any other URL in web.xml

"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
I agree. Here's the link:
subject: Servlet class file in tomcat4.0.6
It's not a secret anymore!