String value = servletContext.getInitParameter("num");
-Tim
Jason Lanpher wrote:
Hi everyone,
I was wondering if anyone could provide me with a simple code example to allow me to get a value from my web.xml file. I want to get the value from the following example web.xml file.
<context-param> <param-name>num</param-name> <param-value>50</param-value> </context-param>
I want to get the value in a java bean. I am just a little confused on how to get this value out of my web.xml file.
Any help would be greatly appreciated.
Jason Lanpher
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
