Jenny, If your input can contain ANY characters then what do you need to validate for? Why don't you just check for an empty string? Am I missing something here?
-Richard > -----Original Message----- > From: jenny zhang [SMTP:[EMAIL PROTECTED]] > Sent: Monday, December 16, 2002 1:47 PM > To: Struts Users Mailing List > Subject: validate > > Hi: > > This might not be the right place to post the message. > But if someone can help me here, I appreciate it. > > I have a text field that can be ANY characters. Which > method should I call to validate it? I don't think I > should call isLetterOrDigit(char ch), because "letter" > means "a-zA-Z". but character means more than letter, > for example, '#' is a character, but it is not letter. > Am I right? Which method should I call to validate the > field to be ANY characters? > I appreciate your help. > > Thanks. > > Jenny > > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca > > -- > 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]>

