Start a browser
(such as Netscape Navigator or Internet Explorer)
and go to:
http://localhost:8080/
You should get a WWW page announcing that you have successfully
setup tomcat.
On the left hand side of this WWW page, you will see a link to
Servlet Examples.
If you click on this link, the page at:
http://localhost:8080/examples/servlets/index.html
appears.
This is a page containing some
Servlet Examples with Code.
If you wish, click on the Execute
and Source links
that are on this WWW page.
For example, click on the Execute link
next to Hello World.
This will take you to:
http://localhost:8080/examples/servlet/HelloWorldExample
Because of the way in which tomcat is configured,
visiting this URL will cause tomcat
to execute the .class file that has been
stored in:
%CATALINA_HOME%\webapps\examples\WEB-INF\classes\HelloWorldExample.class