You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nandakishore Nekkanti <na...@evolveware.com> on 2005/11/21 09:14:55 UTC
what is the use of parameter attribute in action tag
Hi
Is there any option in struts-config.xml to send request parameters to the
action.
i guess parameter attribute in action can do this .Is this for that
purpose.
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: what is the use of parameter attribute in action tag
Posted by Su...@Keane.com.
ok , then you can access "abc" parameter in your action class from request
object.
"Nandakishore Nekkanti" <na...@evolveware.com>
11/21/2005 03:11 PM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
"Struts Users Mailing List" <us...@struts.apache.org>
cc
Subject
Re: what is the use of parameter attribute in action tag
I want to access "abc"
Rgds
Nanda kishore Nekkanti
Software Engineer
EvolveWare, Inc
Riveresa complex, Baner Road, Baner,
Pune - 411 045
Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084
Email: nandan@evolveware.com
URL: http://www.evolveware.com
There is a difference between an objective and actions.Unless you
understand your objective , you will be wasting your time in
actions.Know
your objective first.
-- Swami Vivekananda
----- Original Message -----
From: <Su...@Keane.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, November 21, 2005 2:33 PM
Subject: Re: what is the use of parameter attribute in action tag
> "nanda" is method name in your Action class or you want to access "abc"
> parameter in your method of Action Class.
>
>
>
>
>
> "Nandakishore Nekkanti" <na...@evolveware.com>
> 11/21/2005 02:21 PM
> Please respond to
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>
> cc
>
> Subject
> Re: what is the use of parameter attribute in action tag
>
>
>
>
>
>
> Hi Tahnks for ur response.
>
> I want to send some request parametrs as query string in my first
request
> to the action.
>
> This is just like this.
> localhost:8080/xxxxform.do?abc=nanda
>
> Here i can hard code Nanda in Action.
>
> Instead of hard coding in action is there any way for to do that.
>
>
> Rgds
>
> Nanda kishore Nekkanti
> Software Engineer
> EvolveWare, Inc
> Riveresa complex, Baner Road, Baner,
> Pune - 411 045
> Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084
>
> Email: nandan@evolveware.com
> URL: http://www.evolveware.com
>
> There is a difference between an objective and actions.Unless you
> understand your objective , you will be wasting your time in
> actions.Know
> your objective first.
>
>
>
> -- Swami Vivekananda
> ----- Original Message -----
> From: <Su...@Keane.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Monday, November 21, 2005 2:18 PM
> Subject: Re: what is the use of parameter attribute in action tag
>
>
> > Nandan,
> >
> > parameter attribute in action-mapping is used for method name. you can
> get
> > the request parameters from request object itself in action class, no
> > extra setting is required.
> > Ex if you have any parameter in request as "type" then use
> > String type = (String) request.getParameter("type");
> >
> > Hope it helps.
> >
> > Sunil
> >
> >
> >
> >
> > "Nandakishore Nekkanti" <na...@evolveware.com>
> > 11/21/2005 01:44 PM
> > Please respond to
> > "Struts Users Mailing List" <us...@struts.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <us...@struts.apache.org>,
> > <la...@holoweb.net>
> > cc
> >
> > Subject
> > what is the use of parameter attribute in action tag
> >
> >
> >
> >
> >
> >
> > Hi
> >
> > Is there any option in struts-config.xml to send request parameters
to
> > the
> > action.
> >
> > i guess parameter attribute in action can do this .Is this for that
> > purpose.
> >
> >
> >
> >
> >
> > --
> > Internal Virus Database is out-of-date.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
>
>
>
--------------------------------------------------------------------------
--
> ----
>
>
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
----------------------------------------------------------------------------
----
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: what is the use of parameter attribute in action tag
Posted by Nandakishore Nekkanti <na...@evolveware.com>.
I want to access "abc"
Rgds
Nanda kishore Nekkanti
Software Engineer
EvolveWare, Inc
Riveresa complex, Baner Road, Baner,
Pune - 411 045
Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084
Email: nandan@evolveware.com
URL: http://www.evolveware.com
There is a difference between an objective and actions.Unless you
understand your objective , you will be wasting your time in actions.Know
your objective first.
-- Swami Vivekananda
----- Original Message -----
From: <Su...@Keane.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, November 21, 2005 2:33 PM
Subject: Re: what is the use of parameter attribute in action tag
> "nanda" is method name in your Action class or you want to access "abc"
> parameter in your method of Action Class.
>
>
>
>
>
> "Nandakishore Nekkanti" <na...@evolveware.com>
> 11/21/2005 02:21 PM
> Please respond to
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>
> cc
>
> Subject
> Re: what is the use of parameter attribute in action tag
>
>
>
>
>
>
> Hi Tahnks for ur response.
>
> I want to send some request parametrs as query string in my first request
> to the action.
>
> This is just like this.
> localhost:8080/xxxxform.do?abc=nanda
>
> Here i can hard code Nanda in Action.
>
> Instead of hard coding in action is there any way for to do that.
>
>
> Rgds
>
> Nanda kishore Nekkanti
> Software Engineer
> EvolveWare, Inc
> Riveresa complex, Baner Road, Baner,
> Pune - 411 045
> Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084
>
> Email: nandan@evolveware.com
> URL: http://www.evolveware.com
>
> There is a difference between an objective and actions.Unless you
> understand your objective , you will be wasting your time in
> actions.Know
> your objective first.
>
>
>
> -- Swami Vivekananda
> ----- Original Message -----
> From: <Su...@Keane.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Monday, November 21, 2005 2:18 PM
> Subject: Re: what is the use of parameter attribute in action tag
>
>
> > Nandan,
> >
> > parameter attribute in action-mapping is used for method name. you can
> get
> > the request parameters from request object itself in action class, no
> > extra setting is required.
> > Ex if you have any parameter in request as "type" then use
> > String type = (String) request.getParameter("type");
> >
> > Hope it helps.
> >
> > Sunil
> >
> >
> >
> >
> > "Nandakishore Nekkanti" <na...@evolveware.com>
> > 11/21/2005 01:44 PM
> > Please respond to
> > "Struts Users Mailing List" <us...@struts.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <us...@struts.apache.org>,
> > <la...@holoweb.net>
> > cc
> >
> > Subject
> > what is the use of parameter attribute in action tag
> >
> >
> >
> >
> >
> >
> > Hi
> >
> > Is there any option in struts-config.xml to send request parameters to
> > the
> > action.
> >
> > i guess parameter attribute in action can do this .Is this for that
> > purpose.
> >
> >
> >
> >
> >
> > --
> > Internal Virus Database is out-of-date.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
----------------------------------------------------------------------------
----
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: what is the use of parameter attribute in action tag
Posted by Su...@Keane.com.
"nanda" is method name in your Action class or you want to access "abc"
parameter in your method of Action Class.
"Nandakishore Nekkanti" <na...@evolveware.com>
11/21/2005 02:21 PM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
"Struts Users Mailing List" <us...@struts.apache.org>
cc
Subject
Re: what is the use of parameter attribute in action tag
Hi Tahnks for ur response.
I want to send some request parametrs as query string in my first request
to the action.
This is just like this.
localhost:8080/xxxxform.do?abc=nanda
Here i can hard code Nanda in Action.
Instead of hard coding in action is there any way for to do that.
Rgds
Nanda kishore Nekkanti
Software Engineer
EvolveWare, Inc
Riveresa complex, Baner Road, Baner,
Pune - 411 045
Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084
Email: nandan@evolveware.com
URL: http://www.evolveware.com
There is a difference between an objective and actions.Unless you
understand your objective , you will be wasting your time in
actions.Know
your objective first.
-- Swami Vivekananda
----- Original Message -----
From: <Su...@Keane.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, November 21, 2005 2:18 PM
Subject: Re: what is the use of parameter attribute in action tag
> Nandan,
>
> parameter attribute in action-mapping is used for method name. you can
get
> the request parameters from request object itself in action class, no
> extra setting is required.
> Ex if you have any parameter in request as "type" then use
> String type = (String) request.getParameter("type");
>
> Hope it helps.
>
> Sunil
>
>
>
>
> "Nandakishore Nekkanti" <na...@evolveware.com>
> 11/21/2005 01:44 PM
> Please respond to
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>,
> <la...@holoweb.net>
> cc
>
> Subject
> what is the use of parameter attribute in action tag
>
>
>
>
>
>
> Hi
>
> Is there any option in struts-config.xml to send request parameters to
> the
> action.
>
> i guess parameter attribute in action can do this .Is this for that
> purpose.
>
>
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
----------------------------------------------------------------------------
----
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: what is the use of parameter attribute in action tag
Posted by Nandakishore Nekkanti <na...@evolveware.com>.
Hi Tahnks for ur response.
I want to send some request parametrs as query string in my first request
to the action.
This is just like this.
localhost:8080/xxxxform.do?abc=nanda
Here i can hard code Nanda in Action.
Instead of hard coding in action is there any way for to do that.
Rgds
Nanda kishore Nekkanti
Software Engineer
EvolveWare, Inc
Riveresa complex, Baner Road, Baner,
Pune - 411 045
Tel: +91 (020) 27290713 X 27 . Fax: +91 (020) 2729 1084
Email: nandan@evolveware.com
URL: http://www.evolveware.com
There is a difference between an objective and actions.Unless you
understand your objective , you will be wasting your time in actions.Know
your objective first.
-- Swami Vivekananda
----- Original Message -----
From: <Su...@Keane.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, November 21, 2005 2:18 PM
Subject: Re: what is the use of parameter attribute in action tag
> Nandan,
>
> parameter attribute in action-mapping is used for method name. you can get
> the request parameters from request object itself in action class, no
> extra setting is required.
> Ex if you have any parameter in request as "type" then use
> String type = (String) request.getParameter("type");
>
> Hope it helps.
>
> Sunil
>
>
>
>
> "Nandakishore Nekkanti" <na...@evolveware.com>
> 11/21/2005 01:44 PM
> Please respond to
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>,
> <la...@holoweb.net>
> cc
>
> Subject
> what is the use of parameter attribute in action tag
>
>
>
>
>
>
> Hi
>
> Is there any option in struts-config.xml to send request parameters to
> the
> action.
>
> i guess parameter attribute in action can do this .Is this for that
> purpose.
>
>
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
----------------------------------------------------------------------------
----
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: what is the use of parameter attribute in action tag
Posted by Su...@Keane.com.
Nandan,
parameter attribute in action-mapping is used for method name. you can get
the request parameters from request object itself in action class, no
extra setting is required.
Ex if you have any parameter in request as "type" then use
String type = (String) request.getParameter("type");
Hope it helps.
Sunil
"Nandakishore Nekkanti" <na...@evolveware.com>
11/21/2005 01:44 PM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
"Struts Users Mailing List" <us...@struts.apache.org>,
<la...@holoweb.net>
cc
Subject
what is the use of parameter attribute in action tag
Hi
Is there any option in struts-config.xml to send request parameters to
the
action.
i guess parameter attribute in action can do this .Is this for that
purpose.
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org