Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet class file in tomcat4.0.6

 
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: 5384
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic