Reading Context Params from web.xml

2000-09-07 Thread Gaurav Gehlot
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

Re: Reading Context Params from web.xml

2000-09-07 Thread Craig R. McClanahan
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 > >

Re: Reading Context Params from web.xml

2000-09-07 Thread Shiraz Wasim Zaidi
> 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