Hi All,
I'm re-opening this discussion, as I got stuck in something very similar. I see the code snippet here shows an attribute 'name' for the <html:form/> tag. But I checked the tag details, and there doesn't seem to be an attribute called name.
Struts Tags - form
My actual problem is this. I have a jsp page that I am submitting using an <html:button/>. On clicking the button, a javascript function gets called, which checks for empty fields. If there are any empty fields, it gives an alert. This part works fine. But when there are no empty fields, I have written a
This function is not working. The form doesn't get submitted.
Can anyone please point out my mistake here?
doesn't seem to be working, because using a name attribute in the form element gives me an error.