Richard: Thank you for your reply. I might misunderstand "character". "letter" is "a-zA-Z", right? What is character? "space" or "tab" is character. Right? Could you correct me if I am wrong. Sorry for asking the simple question.
Regards, Jenny --- "Yee, Richard K,,DMDCWEST" <[EMAIL PROTECTED]> wrote: > 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]> > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>