Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies.
setup jdk
setup tomcat
startup.sh
tomcat_port
In your web-browser, type following web-address:
http://hostname:<port_number>/
NOTE: 'hostname' is where you have started your tomcat
server process.
It should be a real hostname (ie. nova12, linux60501) and not an alias (like 'sol' or 'linux').
You can run the command 'hostname' to get this name.
You should see the tomcat example page. Note there are Servlet and JSP examples in the bottom left corner that you can run by clicking on them.
$ echo $CATALINA_BASE
/webpages/<username>/tomcat
shutdown.sh