This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet class file in tomcat4.0.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 5369
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: jrebel
 
subject: Servlet class file in tomcat4.0.6
 
Similar Threads
Help on Servlets- web.xml not working
ServletContext.getRealPath()
How to do Deployment ?
jbuilder webapp
Extending HttpServlet