Frank,
You can use the following in your Action class:
String paramValue = this.servlet.getInitParameter("myParamName");
Thanks,
Venkat
-Original Message-
From: Frank Burns [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 8:19 PM
To: Struts Users Mailing List
Subject: How to
--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 -
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
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
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
[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
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,
>
> From an Action class, I want to r
7 matches
Mail list logo