This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes web.xml parameter sharing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml parameter sharing" Watch "web.xml parameter sharing" New topic
Author

web.xml parameter sharing

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I got a parameter (param-name) that is defined under one of my servlets. I want to use that same parameter in another servlet and or a jsp. But I dont want to define it multiple times... What options do I have to put it in one place that could be accessed by multiple servlets and jsps?
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
define it at ServletContext level...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml parameter sharing