Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 32566 invoked from network); 25 Jan 2010 14:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jan 2010 14:22:11 -0000 Received: (qmail 14688 invoked by uid 500); 25 Jan 2010 14:22:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14608 invoked by uid 500); 25 Jan 2010 14:22:07 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 14597 invoked by uid 99); 25 Jan 2010 14:22:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 14:22:07 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [72.32.253.76] (HELO server514.appriver.com) (72.32.253.76) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2010 14:21:57 +0000 X-Policy: GLOBAL - ignitesales.com X-Primary: joseph.morgan@ignitesales.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: joseph.morgan@ignitesales.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 72.32.253.150 X-Note-Reverse-DNS: fe03.exg4.exghost.com X-Note-WHTLIST: joseph.morgan@ignitesales.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G115 G116 G117 G118 G122 G123 G134 G221 X-Note: Encrypt Rule Hits: X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [72.32.253.150] (HELO FE03.exg4.exghost.com) by server514.appriver.com (CommuniGate Pro SMTP 5.3c2) with ESMTP id 95947948 for users@tomcat.apache.org; Mon, 25 Jan 2010 08:21:38 -0600 Received: from be19.exg4.exghost.com ([72.32.253.179]) by FE03.exg4.exghost.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 25 Jan 2010 08:21:35 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Data Binding in JSP Date: Mon, 25 Jan 2010 08:21:34 -0600 Message-ID: <1C6F1A87DD804C479CF4C0B0CAE88D5403161918@be19.exg4.exghost.com> In-Reply-To: <870524e1001241628x44bc1352mf9c5032187356f55@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Data Binding in JSP Thread-Index: AcqdVVkkJbtyBPh3QiaqVkbUbqxYPAAc28tg References: <870524e1001241628x44bc1352mf9c5032187356f55@mail.gmail.com> From: "Joseph Morgan" To: "Tomcat Users List" X-OriginalArrivalTime: 25 Jan 2010 14:21:35.0978 (UTC) FILETIME=[B38C3CA0:01CA9DC9] X-Virus-Checked: Checked by ClamAV on apache.org Keep in mind the overall architecture. The user is actually using an HTML page containing HTML fields. The browser (nor the HTML) has no actual knowledge of the DB or any binding or ORM you have on your server. So, on the server side, you have 2 primary components; servlets for validating and processing the incoming page data and jsps for dynamically generating the HTML form for the user's consumption and use. This is a standard development pattern, and many ORMs exist (read up on Hibernate) for helping with the data, and many frameworks exist for helping with the control architecture (see Struts and Spring). In the middle of it all, you should have a nice set of POJOs for holding this data. The servlets can send populate these POJOs to the JSPs for inclusion in the HTML output. So, the question really becomes, what are you missing? =20 -----Original Message----- From: jithu mada [mailto:jithu.mada@gmail.com]=20 Sent: Sunday, January 24, 2010 6:28 PM To: Tomcat Users List Subject: Data Binding in JSP Hi, I need suggestion on how to do Data binding in JSP's? I have a requirement, which is to display the table data and the user can add,update or delete the data to it. I am using and JSP's and Servlets. I was searching online to find if there are any data binding frameworks available which I can use, so that when the user modifies the table data, I can bind it directly to the java beans. But only thing I found was displaying data, pagination and sorting. I couldn't find much info on binding the modified data. If you have done something similar before of have any suggestions, please send it to me. thanks, Jithu --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org