• Post Reply Bookmark Topic Watch Topic
  • New Topic

make all the typed words inserted fields be upper case mandatory?  RSS feed

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, how to make all the typed words inserted in through JSP's fields be always upper case mandatory?

* RegExg (Expression Language)?
* JavaScript?
* pure Java?

Could you exemplify?

thank you a lot,
André AS
 
Rob Spoor
Sheriff
Posts: 20898
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wouldn't bother the user with this and simply use String.toUpperCase in the server side code (servlet, JSP).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!