aspose file tools*
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
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...
 
wood burning stoves
 
subject: web.xml parameter sharing