How can I set a form name in a jsp page using <html:form> tag ?
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
posted
0
there is a jsp page, i have given its name also like : -
Iam also calling a javascript function to read the values of EIN by checked radio button like this : -
Iam not able to read the checked radio button value becoz i have used 'forms[0]' instead of actual name of the form.
When i had given the form it name like :-
and replaced the javascript code by its form name like : -
By doing this nothing is happening and it throws error too.
Do i need to create its form class and form bean as well and mapped in struts-config.xml
please tell me wats the reason of this error.
thankx
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
Could you show the errors that you're getting?
satishbsk kumar
Greenhorn
Joined: Jul 24, 2009
Posts: 15
posted
0
Please check html:form tag.. I am not sure this tag contain "name" attribute.
Rgds,
Satish
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
Please check html:form tag.. I am not sure this tag contain "name" attribute.