jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Text Box Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Text Box Validation" Watch "Text Box Validation" New topic

Text Box Validation

Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 168

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

Joined: Jan 10, 2002
Posts: 63061

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: Text Box Validation
jQuery in Action, 3rd edition