Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

some query abt containers  RSS feed

 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

1)what is the difference between jsp container and servlet container . ARe they both same.

2) Who instantiates the servlet jsp container or servlet container.

3)in the web.xml what does the <load-on-startup> signify .
I have read two statement , one says it means the order in which the container will deploy the servlet on run -time

another says that it stands for the no of instances of the servlet to be present at startup time.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) check the specs. JSPs are special cases of servlets therefore a JSP engine is a servlet container with some extras. I haven't seen anything that could take servlets but not JSPs in years.
2) check the specs. Usually the same guy who starts the webserver.
3) check the specs. There's only ever 1 instance of a servlet in memory, you think about what that means for claim #2
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!