This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
statement Vs prepared statement for ordinary select queries
Help needed in Web Service with 1 request and n response....
window.open help
Are multiple http servlets possible ?
Multiple Windows