File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Submitting form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Submitting form" Watch "Submitting form" New topic

Submitting form

S Babs

Joined: Apr 16, 2003
Posts: 18
I have single submit button in one of my form.
so i can use
just <html:submit> struts specific class and use
<html:form action="Lookup" name="lookupForm" type="wiley.LookupForm">
If i have four images << < > >> where
<< -- indicates first record
< -- previous and so on.
and this form also contains some hidden fields which have to be set to ActionForm

Now instead of <html:submit> i would prefer to go with java script.
If i go with javascript , how should i call the java script from <html:img> tag
and how i should specify, the "action", "name" and "type" in this case.
This is very urgent.
Thanks in advance.
I agree. Here's the link:
subject: Submitting form
It's not a secret anymore!