|
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 |
- No Subject Sun JunXu
- No Subject Kiran
- No Subject Craig R. McClanahan
- No Subject Asha Balasubramanyan
- No Subject Eugene Bloss
- No Subject Michael L Yang
- No Subject Shivashankar Krishnan
- No Subject Nitin Tomer
- No Subject Shivashankar Krishnan
- Invoking servlets (Re: ) Ron Reynolds
- No Subject Shirley W. Powers
- No Subject Cabaret Yann
- No Subject Ram Guduputi
- No Subject shankar krishnan
- No Subject Subhasish Bhandari
- No Subject Subhasish Bhandari
- No Subject narayana giri
- No Subject Maria Turk
- No Subject zulfi
- No Subject Gopalankutty, Ravi Kumar (CTS)
- No Subject Toni Grimm
