wood burning stoves
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml parameter sharing" Watch "web.xml parameter sharing" New topic

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: 5382
define it at ServletContext level...
I agree. Here's the link: http://aspose.com/file-tools
subject: web.xml parameter sharing
jQuery in Action, 3rd edition