i have made website in java , struts2 ,now want host live unable host it. tried uploading war file , extracting in cpanel still not working. have account on hostbudget.com , have bought server.
can me how can upload java project since first time, took suggestions many friends of mine none of them has clear idea of this.
cpanel doesn't support java default. supports php default.
see link. how deploy java web application (war) through godaddy's cpanel?
whm cpanel https://documentation.cpanel.net/display/ea/introduction+to+tomcat
steps deploy java web application in cpanel:
- select public_html directory.
- click upload.
- click choose file
- browse war file.
- change file extension .war .zip
- select .zip file , click extract.
before must install servlets in whm cpanel. if need install server vendors guide you.
some of them told me enter following text in .htaccess file inside public_html directory
sethandler jakarta-servlet setenv jk_worker_name ajp13 it's not needed. since without app working.
Comments
Post a Comment