wood burning stoves 2.0*
The moose likes Servlets and the fly likes Where is the context path ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where is the context path ?" Watch "Where is the context path ?" New topic
Author

Where is the context path ?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi.
As you all know, each Java web application has a context.
To access our web application at out machine, we wrote :
http://localhost:8080/appcontext/index.jsp
but in actual deployment (Internet), we wrote :
http://www.ourdomain.com/index.jsp
Where did the conext go ?
(well, I'm not sure if this forum is suitable, Sorry)..
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Sounds like your app was configured to be the default webapp on that server.
Meaning the context path was "".


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where is the context path ?
 
Similar Threads
How access web application use root context?
Questions about real world
Is it possible, More than one tomcat running in the one system?
Tomcat Home Page
JBoss No Context configured