MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to deploy a web-application with Spring-Framework on cPanel ?  (Read 6063 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
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

   
Quote
SetHandler jakarta-servlet
SetEnv JK_WORKER_NAME ajp13

That's all. Enjoy....... !! ;) :) :)
MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum