File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Checking uniqueness of data entry value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Checking uniqueness of data entry value" Watch "Checking uniqueness of data entry value" New topic
Author

Checking uniqueness of data entry value

Mehul Kumbhani
Greenhorn

Joined: Apr 24, 2010
Posts: 9
I have one registration form,in that one username field,
when user fill this text box and click on the "Check Availability" then my servlet have to check that user is exist or not.

and i want one boolean answer (true/false).

Have any other trick to fulfill my requirement?..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

A title such as "hrlp" is not helpful. What would happen if all posts had such a title?

Please go back and change your post to add a more meaningful subject by clicking the button on your post.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

With or without submitting the form?
Mehul Kumbhani
Greenhorn

Joined: Apr 24, 2010
Posts: 9
Without Submitting form...
Only check availability of user?

Like When we create account in gmail,yahoo,hotmail and other.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Ajax.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

P.S. Still waiting for that better subject!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Bear Bibeault wrote:P.S. Still waiting for that better subject!

Maybe you should hrlp them.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Sigh. Please take note of the subject I applied as a model for future posts.
 
 
subject: Checking uniqueness of data entry value