About JSPs and Servlets

Parallels Pro Control Panel (with the mod_jk module) has JSP and servlet functionality enabled on the Apache Web server. The Tomcat engine executes JSP and servlets. Once you enable Tomcat for a site, Parallels Pro instructs the Web server to send certain requests to Tomcat for processing. Tomcat requires an execution environment known as context, to be set up before it can execute JSPs and servlets properly.

A context is basically a directory structure on the server from which Tomcat can execute servlets and JSPs. Parallels Pro Control Panel automatically sets contexts for you. You can also add a new context by uploading Java Web archive files (with the extension .war) into Web content directories.

Note: Java Web archive files can be uploaded only after they are uncompressed. To uncompress the Java Web archive files, you must use the Site Administrator user account. Since the Tomcat daemon runs as a Tomcat user, it does not have the requisite privileges to uncompress files owned by the Site Administrator.

In this section:

Deploying JSPs and Servlets on Parallels Pro Control Panel