Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet class file in tomcat4.0.6  RSS feed

 
feroz muhamed
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5390
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you access servlet like this if you have not specified any other URL in web.xml
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!