jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "web app deployment" Watch "web app deployment" New topic

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: web app deployment
It's not a secret anymore!