How to read init-parm defined in web.xml in an Action class

2003-06-25 Thread Sashi Ravipati
Hi I have this entry in my web.xml file init-param param-namedeveloper-test-id/param-name param-valuetestmode/param-value /init-param How can I get the value (testmode) in my action class. In a servlet we I could do it like this public void init(ServletConfig config)

RE: How to read init-parm defined in web.xml in an Action class

2003-06-25 Thread Varun Garg
Try this this.servlet.getServletConfig().getInitParameter() -Original Message- From: Sashi Ravipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 9:10 AM To: [EMAIL PROTECTED] Subject: How to read init-parm defined in web.xml in an Action class Hi I have this entry in