Server Side Java 
is Driving the Web
Get on board or get out of the way
9
Servlets
www.corewebprogramming.com
Compiling and Invoking 
Servlets
Set your CLASSPATH
Servlet JAR file (e.g., install_dir/lib/servlet.jar). 
Top of your package hierarchy
Put your servlet classes in proper location
Locations vary from server to server. E.g.,
tomcat_install_dir/webapps/ROOT/WEB INF/classes
See http://archive.coreservlets.com/Using Tomcat.html
jrun_install_dir/servers/default/default app/
WEB INF/classes
Invoke your servlets
http://host/servlet/ServletName
Custom URL to servlet mapping (via web.xml)
10
Servlets
www.corewebprogramming.com
5




  

Home

About Services Network Support FAQ Order Contact
 

Servlet Web Hosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved