File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Submitting form" Watch "Submitting form" New topic
Author

Submitting form

S Babs
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Submitting form
 
Similar Threads
Re: using javascript in jsp's
Accessing the Struts form object in JavaScript
LookupDispatchAction with link, Please Help Me!!!
click on button-->save data-->go to another page?
Storing field value in java properties file.