aspose file tools*
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
Author

Text Box Validation

Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 156

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

Joined: Jan 10, 2002
Posts: 61437
    
  67

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]
 
Consider Paul's rocket mass heater.
 
subject: Text Box Validation