This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default and non-default servlet context

 
Rajkishore Pujari
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whats the difference between them considering web application is distributable. I got a question on this in one of the mock exams. Can somebody please clarify it?


Thanks.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is one default web application in the servlet container. In Tomcat under webapps the directory named ROOT refers to the default web application. The servlet context of this web application is know as the default servlet context.

Servlet specification guarantees that in a distributed environment each web application has one servlet context in each JVM except the default web application whose servlet context exists in only one JVM.
 
Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you explain this with an illustration. Something like Contexts ctx1 and ctx2 ... Dis. Environments env1 and env2 ... kind of .... ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic