File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 171

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: 63865

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Text Box Validation
It's not a secret anymore!