"nanda" is method name in your Action class or you want to access "abc" parameter in your method of Action Class.
"Nandakishore Nekkanti" <[EMAIL PROTECTED]> 11/21/2005 02:21 PM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To "Struts Users Mailing List" <user@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: [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@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" <[EMAIL PROTECTED]> > 11/21/2005 01:44 PM > Please respond to > "Struts Users Mailing List" <user@struts.apache.org> > > > To > "Struts Users Mailing List" <user@struts.apache.org>, > <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ---------------------------------------------------------------------------- ---- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]