vik111
08-19-2009, 12:23 PM
I am currently developing a web app using struts 2. Now when it comes to the registration page I am unsure whether to use javascript validation or use the framework that struts provides. I know I am much more comfortable doing it in struts as my js isnt great. However will performance be better if I use js?
Also the validation of the username is going to have to be compared against other usernames on the server for uniqueness (which I will do via jstl sql). This makes me even more inclined to using struts validation.
Please let me know your thoughts. thanks
Also the validation of the username is going to have to be compared against other usernames on the server for uniqueness (which I will do via jstl sql). This makes me even more inclined to using struts validation.
Please let me know your thoughts. thanks