Hi!
Did anyone knows were to define context global parameters for servlets in a iPlanet webserver?
I know that in the file servlets.properties I can define parameters for each servlet, but I want to define
a global parameter for all parameters (like paswwords, urls, ....). I have tried to use contest.properties,
but wenn I read the parameters, they are not found....
I'm using the following code:
ServletContext sc = getServletContext();
Enumeration e = sc.getInitParameterNames();
while(e.hasMoreElements())
{
String name = (String)e.nextElement();
String value = sc.getInitParameter(name);
}
Under TomCat is very is simple: I can add a new <Parameter> entry in a servlet context, in server.xml, but I don't find the place
for iPlanet.
Did anyone has an ideea.
Thanks,
Marian
___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html