I'm no expert, but I found that I had to put the servlet name in the servlet.properties file.
It is in Jsdk2.0/Examples/servlet.properties
Ex:
servlet.YourServletName.code=YourServletName  # Comment or Explanation of what your servlet does
The first time you specify your servlets name is the name you will call it by(in between the servlet.......code)
The second time after the = you are specifying the name of your class file, and anything after the # is just comments.
Your servlet will not work if you don't have it specified in the servlet.properties file.
Shirley Powers

Shivashankar Krishnan wrote:

hi,    i wrote a html page asking a name and a servlet accepting the name and displaying an hello with the name.  the html works fine. when i submit the name it says invoker could not find servlet. i placed the .class file in jsdk/webpages/web-inf/servlets directory.  Another servlet displaying just the hello works fine when placed in the servlets directory of web-inf. it seems the class path is fine. can anyone help me outThanks

Reply via email to