|
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.
|