Well, if you use Struts, you can use the Validator framework. Everything is almost automatic, with no coding required.
Marco ----- Original Message ----- From: "Anson Zeall" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 11:06 AM Subject: Another question - validating user input in fields > Hi, > > I have another question for you guys. Say, a user types an input into > the form, but with my checkings, I made that kind of input, say "$%#RG", > invalid. But I would like to write a line at the side of the form saying > "input must be from A-Z or a-z". I think in asp, its called text validators > or something. How do you do that in JSP? > > From, > > Anson > > > > ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]