|
I'd explain more about the demo settings.
1.under "Virtual Hosts » demo", define a "Servlet Engine" External App "TomcatAJP", address is 127.0.0.1:8009
2.under "Virtual Hosts » demo", define a "Java Web App" context:
URL: /jsp-examples/ (in your case may be /servlets/)
Servlet Engine:TomcatAJP (defined in step 1)
Location:$VH_ROOT/html/tomcat/webapps/jsp-examples/ (.jsp is here)
3.start up tomcat.
$VH_ROOT/html/tomcat/bin>export JAVA_HOME=/usr
$VH_ROOT/html/tomcat/bin>./startup.sh
|