A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Nov 29, 2006
Dec 17, 2006 19:51:00
I am using onClick to submit to action class in submit button .
is populating data from one form and the action to which i am submitting is using another form.How to distinguish which form to submit.
Joined: Mar 22, 2006
Dec 18, 2006 01:38:00
Hi vijaya vedula
i hope this helps, if i have not understood your problem correctly then let me know.
to err is human, but the company policy doesn't allow it!
Joined: Apr 04, 2004
Dec 18, 2006 12:46:00
If you want the Action to use different form then configure the
action and form
in your struts-config.xml action mapping.
[ December 18, 2006: Message edited by: Santosh Ramachandrula ]
It is sorta covered in the
JavaRanch Style Guide
subject: Submit button
the enter key forces a submit
object doesn't support this property or method
2 submit buttons with different action
how to create a form within form?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014