Hi Tanveer,
*place your jsp pages and their html files on the following path:
tomcat_home\webapps\examples\jsp
note that you may create folders under the same path also.
**place your *.class files of your servlets under the path:
tomcat_home\webapps\examples\web-inf\classes
and place the html pages that call them under the path:
tomcat_home\webapps\examples\servlets
***call your servlet from the browser by typing the following
address in the title bar:
http://localhost:8080/examples/servlet/YourServletClassName note that if you want to call the html file of your servlet,
you need the following address:
http://localhost:8080/examples/servlets/YourHtmlPage and if your class files are in the expected directory, they
are going to be called automatically when the html page
requests one of them
Waiting for your commints...
Regards,
Jimi.