RE: How to read a parameter in web.xml from Action class

2004-05-20 Thread Venkat Maddipati
bject: How to read a parameter in web.xml from Action class Hi, >From an Action class, I want to read a parameter specified in the web.xml file. I thought I could place it in an block, within the action element, like this: myParamName myParamValue and then read it with

RE: How to read a parameter in web.xml from Action class

2004-05-20 Thread Joe Hertz
--Original Message- > From: Iván Rodríguez [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 20, 2004 6:02 AM > To: Struts Users Mailing List > Subject: Re: How to read a parameter in web.xml from Action class > > > Why don t you use JNDI ? > > - Original Message -

Re: How to read a parameter in web.xml from Action class

2004-05-20 Thread Iván Rodríguez
Why don t you use JNDI ? - Original Message - From: "Frank Burns" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, May 20, 2004 11:47 AM Subject: Re: How to read a parameter in web.xml from Action class

Re: How to read a parameter in web.xml from Action class

2004-05-20 Thread Frank Burns
Excellent. Thank you Ashutosh. - Original Message - From: "Ashutosh Satyam" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, May 20, 2004 6:40 AM Subject: RE: How to read a parameter in web.xml from Action class One

RE: How to read a parameter in web.xml from Action class

2004-05-19 Thread Ashutosh Satyam
From: Ashutosh Satyam Sent: Thursday, May 20, 2004 10:45 AM To: Struts Users Mailing List Subject: RE: How to read a parameter in web.xml from Action class Try using the below mentioned code to read intialization parameter defined in the Web descriptor file. String sname = servle

RE: How to read a parameter in web.xml from Action class

2004-05-19 Thread Ashutosh Satyam
[mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 8:59 AM To: Struts Users Mailing List Subject: Re: How to read a parameter in web.xml from Action class Sorry, see my CORRECTION below: - Original Message - From: "Frank Burns" <[EMAIL PROTECTED]> To: "Struts Use

Re: How to read a parameter in web.xml from Action class

2004-05-19 Thread Frank Burns
Sorry, see my CORRECTION below: - Original Message - From: "Frank Burns" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, May 20, 2004 4:19 AM Subject: How to read a parameter in web.xml from Action class > Hi,

How to read a parameter in web.xml from Action class

2004-05-19 Thread Frank Burns
Hi, >From an Action class, I want to read a parameter specified in the web.xml file. I thought I could place it in an block, within the action element, like this: myParamName myParamValue and then read it within the Action class using: String paramValue = request.getS