Hi, If you want to do it on the client-side, you will need JavaScript to check what the user typed, and then "alert" some message to tell him that his entries are wrong. On the server-side, you can use the request.getParameter("myParam") to check what the user typed, then send the appropriate response to the client.
Hope it helps. Alain -----Message d'origine----- De : Anson Zeall [mailto:[EMAIL PROTECTED] Envoyé : mardi, 9. septembre 2003 12:07 À : Tomcat Users List Objet : 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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]