You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Sagar A. Phanse" <sa...@kanbay.com> on 2003/07/09 08:32:08 UTC

Validation of user input depending upon the user locale.

Hi!
I need some help.
I have a textfield in my JSP where user can enter the text.
Now I wanted to validate the user entered text into the textfield such that when jsp-form is submitted it will let only those characters to be entered in the textfield which are 
belonging to the language/locale of the user.. Depending upon the user locale.
E.g. If user is in Japanese Locale and if user enters ä or ü (german characters) it should be validated giving an error.
Is there any fascility available in struts for this?
If there is any other way than struts to achive this, even then do let me know.

-Thanks in Advance
Sagar

 



*----------
This message and any attachment(s) is intended only for the use of the addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended addressee(s), you are hereby notified that any use, distribution, disclosure or copying of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachment(s) and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.


RE: Validation of user input depending upon the user locale.

Posted by Andrew Hill <an...@gridnode.com>.
Yep. Your Japanese users are sure gonna love that feature when they try to
enter the names of their German clients into the application (or whatever).

-----Original Message-----
From: Sagar A. Phanse [mailto:saphanse@kanbay.com]
Sent: Wednesday, 9 July 2003 14:32
To: struts-user@jakarta.apache.org
Subject: Validation of user input depending upon the user locale.


Hi!
I need some help.
I have a textfield in my JSP where user can enter the text.
Now I wanted to validate the user entered text into the textfield such that
when jsp-form is submitted it will let only those characters to be entered
in the textfield which are
belonging to the language/locale of the user.. Depending upon the user
locale.
E.g. If user is in Japanese Locale and if user enters ä or ü (german
characters) it should be validated giving an error.
Is there any fascility available in struts for this?
If there is any other way than struts to achive this, even then do let me
know.

-Thanks in Advance
Sagar





*----------
This message and any attachment(s) is intended only for the use of the
addressee(s) and may contain information that is PRIVILEGED and
CONFIDENTIAL. If you are not the intended addressee(s), you are hereby
notified that any use, distribution, disclosure or copying of this
communication is strictly prohibited. If you have received this
communication in error, please erase all copies of the message and its
attachment(s) and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and
not of Kanbay.

Although we have taken steps to ensure that this e-mail and any
attachment(s) are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org