Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Javascript or JSP Validation?

843835Jan 21 2002 — edited Jan 21 2002
Hi everyone!

I been having problem in figuring out how to validate my form. Some say I should place simple validations in the client-side thru javascript (e.g. nulls or invalid formats for date). But what I have in mind is that even simple validations as described earlier will be done using JSP. Actually, I'm planning to use beans to have the elements of my form easily validated thru JSP. But they say I should have to unload some of the validations thru client-side javascripts. Will the application be more maintainable if I use javascript/JSP? Which is more efficient? Overall, which one will be of greater value?

Can you please enlighten me on this issue.

Thanks and more power!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2002
Added on Jan 21 2002
2 comments
150 views