Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:other-ext-apps:servlet-engine-setup [2015/07/29 15:14]
Michael Alegre created
litespeed_wiki:other-ext-apps:servlet-engine-setup [2018/11/01 13:56]
Jackson Zhang [6. Set a script handler for JSP files.]
Line 1: Line 1:
-===== How do I set up servlet engine to run JSP? =====+====== How do I set up LSWS to work with servlet engine to run JSP/cfm etc? =====
 +LiteSpeed Web Server supports servlet engines/JSP through AJPv13 protocol. Apache Tomcat is a popular Java Servlet Container to serve JavaServer Pages(.jsp). ColdFusion(.cfm) is a programming language based on Tomcat Servlet Engine. How to setup LSWS to work with servlet engine to servie jsp/cfm? You will need to create a servlet engine external app on LSWS configuration,​ then configure "​.jsp"/"​.cfm"​ script handler with that. 
  
-LiteSpeed Web Server supports servlet engines/JSP through AJPv13 protocol. ​ 
-Please use the following guidelines to set up the servlet engine: 
  
 ==== 1. Install an AJPv13 compatible Servlet engine. ==== ==== 1. Install an AJPv13 compatible Servlet engine. ====
Line 18: Line 18:
 The context URI should match the URI used by the servlet engine. Set the Location to the directory of the web application. Select the servlet engine external application just created. The context URI should match the URI used by the servlet engine. Set the Location to the directory of the web application. Select the servlet engine external application just created.
  
-==== 6. Set a script handler for JSP files. ==== +==== 6. Set a script handler for jsp/​cfm ​files. ==== 
-Add a script handler in the virtual host-level Script Handler tab. Assign this script handler to the suffix "​jsp"​. Set the script handler Type to "​Servlet Engine"​ and set the Handler Name to the name of the servlet engine just created.+Add a script handler in the virtual host-level Script Handler tab. Assign this script handler to the suffix "jsp"/"​cfm". Set the script handler Type to "​Servlet Engine"​ and set the Handler Name to the name of the servlet engine just created.
  • Admin
  • Last modified: 2018/11/01 13:56
  • by Jackson Zhang