This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes web app deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "web app deployment" Watch "web app deployment" New topic
Author

web app deployment

jim li
Ranch Hand

Joined: May 20, 2008
Posts: 180
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: web app deployment
 
Similar Threads
how to delete cookie named jsessionid
simple doubt in jsp
how to map www.test.com to http://localhost:8080/test/index.jsp on Tomcat server
Virtual host in Apache and Tomcat , Help
Getting the appname from the web.xml