Frequently Asked Questions

These pages contain answers to the most common questions asked of Servlets.Net. To read an answer to a question, first select the category on the left, then the question on the right. If you don't find what you're looking for, feel free to send e-mail to our Support Department. If you would prefer, the entire FAQ is available on a single page.


 
General
Virtual Server
Java Servlets
Java Server Pages
Database
Internet
Dynamic Configuration Files
 
 
 
What are Java Server Pages?
What version of JSP are you running?
How do I change between JRun's JSP versions?
What compilers are available to use with JSP?
Can I pre-compile my JSP pages?
How do I get the JRun JSP Database samples to work?
 

 
 
 

If you're using JRun, your professional account allows you to use either JSP 0.92 or JSP 1.0. By default, your account is configured to run JSP 0.92. Here is information on how to switch between JSP versions.

Using the JRun Remote Admin applet or application, you will need to modify your Mapping Rules. This can also be done by editing your rules.properties file. It is located at:

/home/username/jrun/jsm-username-jsmname/services/jse/properties/rules.properties

If you want to use JSP 1.0, this mapping needs to be created:

*.jsp=com.livesoftware.jsp.JSPServlet

If you want to use JSP 0.92, this mapping should be used:

*.jsp=jsp

If you want to use both, you can choose a different file extension for one of them. For instance:

*.jsp92=jsp

Once the new mapping is made, you will need to restart your JRun Services Manager (JSM). Our JSM Control Tutorial shows how to restart your JSM.

Lastly, the Apache web server will need to be reloaded before any changes you make to your rules.properties file will be active. This is because Apache reads your rules.properties file at startup to determine what file extensions need to be passed to JRun. The Apache web server is automatically reloaded early in the morning every day, so your changes will be in effect the next day. They might actually be in effect earlier since Apache is periodically reloaded throughout the day by Servlets.Net staff.

 


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