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 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "question related to contexrt param" Watch "question related to contexrt param" New topic
Author

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
Sheriff

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question related to contexrt param
 
Similar Threads
sending data from HTML to APPLET
NullPointerException in Listener
problem in web.xml
javadoc problem
Struts2 mapping query