A couple of ways.

You could include hidden parameters on the form which store the original
values of the items and compare these to what you get back and only
issue DB updates for those that have changed.

You could do as above, but have some Javascript on the page which checks
for changed values, and builds a custom form of changed values and only
submits those.

Clayton

> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Sent: 25 March 2003 13:51
> To: [EMAIL PROTECTED]
> Subject: screen format
>
>
> Hi all
> I am doing a web page which has multiple rows from database
> in that i am giving modify option thru which user can modify
> the contents in each row
> say like this
>
>                 name  age
>                 ---------
>                 abc      12
>                 edf       13
>                 hjk       12
>
>                         Modify
>
> but the overhead incurred is if i use request.getparametervalues
> all the rows even unmodified it returns which in turn is a
> huge overhead in database how  to detect the rows that has
> only been modified
> please do advice
> Regards
> Peter
>
> =========================
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to