your general concept here: validate page parameters
is valid -> redirect to processing page display form display default values for fields display form hints for invalid data if you don't have time to learn/implement this you might want to consider outsourcing your problem. typically one would use a tag library to do this. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Sat, 28 Dec 2002, Denise Mangano wrote: Any web site references? I'm pressed for time so can't wait for item to be shipped and no local bookstores have it in stock... Also, if I am to have my JSP form post back to itself to validate, I would need to employ Java Beans for this - is that correct? Sorry - I'm a newbie :) Thanks! -----Original Message----- From: Paul Campbell To: Tomcat Users List Sent: 12/28/2002 3:29 PM Subject: RE: Question - Form Validation Advanced Java Server Pages by Geary (Prentice Hall 2001) At 03:30 PM 12/28/2002 -0500, you wrote: >It seems to me that Struts is more for large scale enterprise webapps. >Eventually once my webapp is up and running in a production environment, if >our project seems to be more popular than expected, then updates will be >necessary and alternative approaches will be considered. > >In the meantime, our webapp is for less than medium size organization, the >site is pretty simple - just select the fee you are paying and provide the >cc info for processing - all this for a pretty stable number of users (for >the time being). > >Can anyone provide links to any resources for form validation with JSP - not >using Struts? I have a couple of books, but none seem to go into enough >detail.. > >Thanks :) >Denise > >-----Original Message----- >From: Noel J. Bergman >To: Tomcat Users List >Sent: 12/27/2002 11:34 PM >Subject: RE: Question - Form Validation > >Denise, > >There are a number of ways to do it. One is to build a Struts >application. >Another is to have the form post back to itself. If it likes the form >data >(validates), then it can forward to the target page. There are various >other solutions. > > --- Noel > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>