On 10/21/05, R.Vijayaraghavan <[EMAIL PROTECTED]> wrote:
> struts-config.xml
>
>
>
>
> type = "app.QueryParamsAction"
> name = "QueryParamsForm"
> validate = "false"
ailto:[EMAIL PROTECTED]
> > Sent: Saturday, October 22, 2005 12:25 PM
> > To: Struts Users Mailing List
> > Subject: RE: query string parameters problem
> >
> >
> >
> > The scope of the ActionForm is session means that the last submitted
> > ActionForm wi
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 12:25 PM
> To: Struts Users Mailing List
> Subject: RE: query string parameters problem
>
>
>
> The scope of the ActionForm is session means that the
iling List"
To
"Struts Users Mailing List"
cc
Subject
RE: query string parameters problem
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 12:08 PM
> To: Struts Users Mailing List
> Subject: RE: qu
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 12:08 PM
> To: Struts Users Mailing List
> Subject: RE: query string parameters problem
>
>
>
> Are you able to see the 'age' and 'n
struts-config.xml
ActionForm has the setter and getter methods for name, age and description.
Action:
public final class QueryParamsAction extends Action {
public ActionForward
ired values
in the Javascript.
Regards,
Rajasekhar Cherukuri
"R.Vijayaraghavan" <[EMAIL PROTECTED]>
10/22/2005 11:53 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
RE: query string parameters problem
From: "R.Vijayaraghavan" <[EMAIL PROTECTED]>
The action is set to /submit.do. Since I am only sending the description
in
the http request, only the setDescription() method should be called and it
happens so. The problem is when I try to access the age and name variables
from the ActionForm in th
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 8:36 AM
> To: Struts Users Mailing List
> Subject: Re: query string parameters problem
>
>
>
> Hi,
> You should use
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 21, 2005 7:01 PM
> To: user@struts.apache.org
> Subject: RE: query string parameters problem
>
>
> R.Vijayaraghavan asked:
> [snip]
> > The action i
Hi,
You should use
request.getParameter("name")
request.getParameter("age")
to get the values from the request. I don't think the values set
through through query string will be set to ActionForm automatically. In
this case you should explicitly
R.Vijayaraghavan asked:
[snip]
> The action is set to /submit.do. Since I am only sending the
> description in the http request, only the setDescription()
> method should be called and it happens so. The problem is
> when I try to access the age and name variables from the
> ActionForm
12 matches
Mail list logo