TrainBeaser for iPhone
The moose likes Other Java Products and Servers and the fly likes web app deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply Bookmark "web app deployment" Watch "web app deployment" New topic
Author

web app deployment

jim li
Ranch Hand

Joined: May 20, 2008
Posts: 176
Hi everyone,

i am using glassfish and jsp
when i run my app locally it is displayed as localhost:8080/appname
now i purchased domain which is www.test.com
when i deployed my app, i have to access the app by entering www.test.com/appname , but what i want is www.test.com without context root.

how can i do it?
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

ask your hosting provider.
In my java hosting(eatj.com), I simply upload the war file as ROOT.war to have / as the contextPath for it.
 
IntelliJ Java IDE
 
subject: web app deployment
 
Threads others viewed
simple doubt in jsp
how to map www.test.com to http://localhost:8080/test/index.jsp on Tomcat server
Getting the appname from the web.xml
Virtual host in Apache and Tomcat , Help
how to delete cookie named jsessionid
developer file tools