aspose file tools
The moose likes Servlets and the fly likes question related to contexrt param Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "question related to contexrt param" Watch "question related to contexrt param" New topic

question related to contexrt param

ganesh pol
Ranch Hand

Joined: Apr 29, 2005
Posts: 151
why should the occurance of context-param tags should appear before any servlet tags
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I know with recent versions of Tomcat the order isn't important anymore.

I'm guessing that they need to go first to insure that they are loaded before any servlets with load-on-startup set, that use the init-params in their init method, try to read them.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
subject: question related to contexrt param