aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet class file in tomcat4.0.6" Watch "Servlet class file in tomcat4.0.6" New topic
Author

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: 5370
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: http://aspose.com/file-tools
 
subject: Servlet class file in tomcat4.0.6
 
Similar Threads
jbuilder webapp
How to do Deployment ?
Extending HttpServlet
Help on Servlets- web.xml not working
ServletContext.getRealPath()