JSP Hosting / Tomcat Hosting)
Apache Tomcat offers support for Servlet 2.x and JSP 2.x specifications, JDK, and includes support for all common JSP/servlet applications such as the Struts development framework, JavaMail, etc.
We offer Private JVM plans and Java VPS and Cloud plans click here
Tomcat restart: We provide an automated Tomcat restart tool which you can use to restart the Tomcat directly from your cPanel !
JSP & Servlet Operation
cPanel (with the mod_jk module) has JSP and servlet functionality enabled on the Apache Web server. The Tomcat engine executes JSP and servlets. Once Tomcat is enabled for a site, cPanel 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 a directory structure on the server from which Tomcat can execute servlets and JSPs. cPanel automatically sets contexts for you.
Please, note: we do not support Web archives (.war files).
Deploying JSPs & Servlets
Deploying JSPs and servlets on the cPanel is as easy as uploading a Web site using any FTP client. When Tomcat hosting is enabled for a site using, cPanel creates a default Tomcat context, for the virtual site in the site's web directory.
The context path of each virtual site is: "/home/domain/public_html/WEB-INF".
The WEB-INF directory contains configuration information for Tomcat and is the directory in which servlet class files need to be placed for deployment.
For more information, please visit the official Tomcat site at: https://tomcat.apache.org/tomcat-5.5-doc/
There is only one WEB-INF available per site - available for your main domain (www.yourdomain.com or domain.com); you can NOT have support for JSP pages and servlets for any sub-domains.
To restart your Tomcat, you can use the provided automatic Tomcat restart tool which is available under the “Software” section of your cPanel.