File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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: 3479

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 ?