Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Text Box Validation

 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi every one I need to know about the code for text box validation like if we have a registration form in which we need to enter desired user name and password also. But what i want is if a user enters a user name which is already taken by another user and its in the database also, the new user should get Username not Available! this message. Can we do that in JSP? Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64828
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The display of the HTML to show the message can be handled by a JSP. Everything else would be handled by other Java classes in the web application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic