This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Submit  data only if changes happened Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Submit  data only if changes happened" Watch "Submit  data only if changes happened" New topic
Author

Submit data only if changes happened

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 576

Hi,

I'm submitting my form data containing some rows and two columns. Anytime, user can open the page, edit the information and submit. I'm using ActionForm wherein I'm having two arrays to hold two column values. But the problem is every time user submits the page, ActionForm is populated with all the data. But I want the Form to be populated only the rows which user modifies. I know this how to do using javascript. But I'm just curious to know whether Struts provides this kind of feature to handle directly.

Thanks in advance,
Narendranath


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
 
Consider Paul's rocket mass heater.
 
subject: Submit data only if changes happened
 
Similar Threads
Loading multiple forms in single jsp
Multipage Form implementation
newbie problem - populating Action form
Form Validation and Delete using struts
Javascript Guru Needed