If you don't have some ajax FW dropped in your project, like ICEFaces or similar stuff, you could try implementing it with some jQuery check I would for sure absolutely drop the idea of loading the user list array inside the page... You don't know how much that user list could grow, and it's usually no good to give out the user list that way :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com
2010/12/14 Abdel Moneim Emad <meneme...@gmail.com> > You have many solutions, just to mention two of them: > > 1- Load the user nicknames from the database in a string array [Don't > worry, it will not take a space as you think] and then lookup into them > using javascript function with onkeypress event handler. but this is the > poor solution > 2- The good solution is to make a button named 'Check Availability' which > make an AJAX call to query the database and return back with results without > leaving the registration page > On Mon, Dec 13, 2010 at 5:55 PM, Evgeniy Pol..... <yone...@gmail.com>wrote: > >> Hi, everyone! I need some help.. >> o the user registration page, the user must type his nickname, and >> password >> The Question is: How can I check user availability and password wickness >> while he typing his nickname. ??? >> >> And I using Java Persistence to acces MyDB. >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Java EE (J2EE) Programming with Passion!" group. >> To post to this group, send email to >> java-ee-j2ee-programming-with-passion@googlegroups.com >> To unsubscribe from this group, send email to >> java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com<java-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> >> http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en > > > > > -- > Best Regards, > Abdel Moneim Emad Sobhy > BankNet Technical Lead & Software Architect > Address: 28 Mohamed Hassan El-Gamal St. off Makram Ebeid, Nasr City > Cairo, Egypt. > Phone: +02 26706051/3 Ext. 117 > Mobile: +2 010 172 84 13 > Fax: +202 26330584 > E-mail: ame...@intercom.com.eg > > -- > You received this message because you are subscribed to the Google > Groups "Java EE (J2EE) Programming with Passion!" group. > To post to this group, send email to > java-ee-j2ee-programming-with-passion@googlegroups.com > To unsubscribe from this group, send email to > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com<java-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com> > For more options, visit this group at > > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en > -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en