I prefer to use javabeans with the Memento pattern as discussed in the Kolb & Fields book Web Development with JavaServer Pages. -----Original Message----- From: Andrea Vicentini [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 2:47 PM To: [EMAIL PROTECTED] Subject: Re: Design and validation opinion Hi! ----- Original Message ----- From: "Tripat Singh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 30, 2000 9:28 AM Subject: Design and validation opinion > Hi pals!!! > > I would like to have a opinion of all of you for validating fields in the > html page. > > -- Whats is the preferable way to validate fields - server side in the > servlet/jsp page or using the java script at the client end? > > -- What are the advantages and disadvantages of both the techniques? > Client-side validation is simply impossible. I can create and send your application any kind of request I want -- indipendently from the HTML page that I have received: your application *must* make server-side validation, or else it would crash. Then, you could try to make client-side validation, that has a meaning only to improve the user interface... but shouldn't be thought as being semantically meaningful. Gruss. Andrea Vicentini System Engineer e-Business Director of my Arbeitsplatz -------------------------------------- Blue Quant Consulting Group GmbH Badstrasse 9, 70372 Stuttgart phone: +49 (711) 5 20 87 58 - 780 fax: +49 (711) 5 20 87 58 - 781 mail: [EMAIL PROTECTED] web: http://www.bluequant.de -------------------------------------- =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
