This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Username existence check using AJAX and Java J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Username existence check using AJAX and Java J2EE" Watch "Username existence check using AJAX and Java J2EE" New topic
Author

Username existence check using AJAX and Java J2EE

Vinod Vinu
Ranch Hand

Joined: Aug 30, 2009
Posts: 217
Hi. iam working on a web application using Struts,Spring and hibernate.
I want to check whether the username already exist in the database or not.

Iam new to Ajax and Struts. I don't know that whether i should create a new java class(AJAX validation) or just club the same in the existing struts action class of registeration ?
I would really appreciate you guys if could send me its code.
Following is my struts action class :-



applicationContext.xml:-


struts-config.xml:-


Thanks in advance


Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Username existence check using AJAX and Java J2EE