Tutorials

Welcome to the Servlets.Net Tutorial section! Here you'll find how-to's, reference guides, and step-by-step instructions to help your site become the best on the Web! Check back frequently, because we're always adding material to this section. To view a tutorial, just select a category from the list on the left, then a tutorial from the list on the right.


 
Your Account
Java Servlets
Java Server Pages
Shared Servlet Library
JVM Control
 
 
 
JSP Use
 

 
 
 

The John Hopkins University provides a detailed tutorial on servlets and JSP. Find out more about this in our John Hopkins University Sevlet and JSP Tutorial

Using JSP is as easy as uploading your .jsp files to the correct location on the server.

For example, suppose you have a web site called www.stuff.com and a User Account called "crafts" with a Virtual Server called "artsy". If you have a .jsp file that needs to run when site visitors hit the URL http://www.stuff.com/origami/prodlist.jsp, just use FTP to upload the prodlist.jsp file into the /home/crafts/www/artsy/origami directory.

The next time a visitor hits the URL, a .java file will automatically be created from your .jsp file, and put into your JVM's servlet directory. From that .java file, a .class will be compiled and run. As long as the .jsp file you uploaded doesn't change, it won't re-compile, and will just run as a servlet. Sample .jsp pages are installed on your site.

The JRun Scripting Manual in the Downloads section of this site contains more details about how JSP is implemented. There are also more details about using JSP in Java Server Pages section of the FAQ

 


 
Copyright © 1998 - 2007 Servlets.Net Corporation. All rights reserved. Legal Notices.