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
You could try here:
http://jakarta.apache.org/commons/validator/
Barry
-Original Message-
From: Anson Zeall [mailto:[EMAIL PROTECTED]
Sent: 09 September 2003 11:07
To: Tomcat Users List
Subject: Another question - validating user input in fields
Hi,
I have another question for
You'll have to handle it yourself. You could do it server-side or
client-side with Javascript and DHTML.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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