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
--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,
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
8 matches
Mail list logo