hi, guys: The params defined between <context-param></context-param> are accessible by all servlets. I am wondering how I am able to put params accessible by all servlets and paran accessible by ony one specific servlet together in deployment descriptor? Could anyone give an example? Thanks.
That's correct. Here is another example: The <context-param> element will provide the ability to make parameters global to a specific web application. While the sub-elemnent <init-param> of the <servlet> element will provide the apility to make parameters available to an individual servlet.
posted 18 years ago
Thank you very much, Clark and CJ: Your examples are very helpful.
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop