Not able to find the servlet

G

Garg

Hi All,

I am new to this JSP and servlet so for testing purpose i created one
html page which is calling one servlet. but when i run it is not able
to find the servlet.

I updated web.xml by uncommenting servlet invoke part. folder
structure is correct. I am not able to understand where can the
problem.

Please give me your suggestions.

Thanks,
Tarun Garg
 
A

Andrew Thompson

Garg said:
..
I am done by all this but same probles is there.

OK. Can you describe the 'folder structure' you
mentioned earlier?

e.g. if there were a servlet 'com.your.Servlet'
- as a loose class it would generally be located..
WEB-INF/classes/com/your/Servlet.class
- if in a jar archive, it would be something like..
WEB-INF/lib/servlet.jar

And to clarify something you mentioned earlier.
This class is being called into a JSP? (You
mentioned 'HTML', but I am guessing you
really meant 'JSP'.)

--
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200704/1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top