Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where is the context path ?  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like your app was configured to be the default webapp on that server.
Meaning the context path was "".
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!