MilesWeb Hosting Forum

Web Hosting Technical Support => Tomcat Java Hosting => Topic started by: Dipak Bhoi on June 17, 2015, 03:22:06 PM

Title: How to deploy a web-application with Spring-Framework on cPanel ?
Post by: Dipak Bhoi on June 17, 2015, 03:22:06 PM
Hello folks,

If you are using Spring Framework for jsp application then you need to do 2 simple things before your application can work.

1. create a .war file of the application and put it into the /public_html directory.
2. Add the following lines to the .htaccess file inside /public_html

   
QuoteSetHandler jakarta-servlet
SetEnv JK_WORKER_NAME ajp13

That's all. Enjoy....... !! ;) :) :)