RE: Parameters for virtual servers in server.xml? Is it possible?

2002-06-18 Thread Donie Kelly
Can anybody answer this question? I want to add parameters which are available to a servlet but different for each virtual host. I need to have a value called service provider id which is all I need to get the extra required information from LDAP. I need to do this so that the same code can be

RE: Parameters for virtual servers in server.xml? Is it possible?

2002-06-18 Thread August Detlefsen
You can put parameters such as this in web.xml for each webapp: context-param param-nameserviceProvider/param-name param-valueservice1/param-value descriptionThis is the description/description /context-param Then you can get them in your servlet using: