Hi,
Is there a way to programatically read the context params specified in
the web.xml file under the WEB-INF directory.
TIA,
gg
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant
Like this:
String value =
getServletContext().getInitParameter("paramname");
Craig McClanahan
Gaurav Gehlot wrote:
> Hi,
>Is there a way to programatically read the context params specified in
> the web.xml file under the WEB-INF directory.
> TIA,
> gg
>
>
> Is there a way to programatically read the context params specified in
> the web.xml file under the WEB-INF directory.
You can access it from servlet and JSP.
For e.g.
idleTimeout
30
>From Servlet:
String idleTimeoutValue =
getServletContext().getInitParameter("idleTimeout");
>From JS