This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Submitting data without using submit button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Submitting data without using submit button" Watch "Submitting data without using submit button" New topic
Author

Submitting data without using submit button

Mary Wallace
Ranch Hand

Joined: Aug 25, 2003
Posts: 138
A page consists of multiple forms generated by a logic:iterate.Now,is there any way 2 submit data from each form as soon as we fill in the available fields in that form. <html:form> User name: <html:text property="username"/>
Password: <html assword property="password"/>
</html:form>
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

How are you supposed to know that the user is finished?


A good workman is known by his tools.
Tad Dicks
Ranch Hand

Joined: Nov 16, 2004
Posts: 264
I suppose you could use javascript and do
on_blur="document.yourform.submit()";

I really don't think it would be a good Idea though (remove the underscore).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Submitting data without using submit button
 
Similar Threads
how the value in the form pass into Action class in Struts
Struts & FORM authentication
Struts & FORM authentication
How to avoid sending authentication parameters in request url?
Struts 2 Fileupload problem