Re: send data

2009-03-13 Thread yogita sharma
In your action class, define the variable with the same name you are defining your element in jsp page, and put setter-getter for the same, you should be able to use the data. Actually in struts 2, they have eliminated action forms and combined it with action class. On Fri, Mar 13, 2009 at 8:34 PM

Re: send data

2009-03-13 Thread PEGASUS84
thanks but i don't be able to realize this thing; laes1 wrote: > > i don't use struts 2.0 (i use struts 1.2) > so with this version, u can get a text value or a password through the > actionform > u define a class which extends from actionform > and u add the property u want (u generate for

Re: send data

2009-03-13 Thread elyes sallem
i don't use struts 2.0 (i use struts 1.2) so with this version, u can get a text value or a password through the actionform u define a class which extends from actionform and u add the property u want (u generate for this properties a getter and setter method) and u get them whith a cast of the for

Re: send data

2009-03-13 Thread PEGASUS84
thanks but the data object isn't an input tag as or but a tag ; Can I get url in an action? -- View this message in context: http://www.nabble.com/send-data-tp22498337p22498771.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: send data

2009-03-13 Thread elyes sallem
Hello, you can send them by the actionForm that u define 2009/3/13 PEGASUS84 > > good evening; > does someone know how can I send data from a jsp page to an Action? > -- > View this message in context: > http://www.nabble.com/send-data-tp22498337p22498337.html > Sent from the Struts - User mai