aspose file tools
The moose likes Servlets and the fly likes web.xml parameter sharing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 5369
define it at ServletContext level...
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: web.xml parameter sharing
 
Similar Threads
statement Vs prepared statement for ordinary select queries
Are multiple http servlets possible ?
Multiple Windows
window.open help
Help needed in Web Service with 1 request and n response....