This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 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: 63211

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]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Text Box Validation
It's not a secret anymore!