This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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
when i deployed my app, i have to access the app by entering , but what i want is 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(, I simply upload the war file as ROOT.war to have / as the contextPath for it.
I agree. Here's the link:
subject: web app deployment
It's not a secret anymore!