Results 1 to 3 of 3
- 07-07-2010, 08:38 AM #1
which type is a good validation method in struts2
HI i'm new in struts2 i created a login page and want to set validation in struts2 there i think lot of validation techniques are there so
what are they ,how can i use that,which type is a good validation method in struts2
Client side and also serverside
Please help me
Thanks in advance
- 07-13-2010, 11:03 AM #2
Member
- Join Date
- Jul 2010
- Posts
- 3
- Rep Power
- 0
Its all depends on the your requirement, for secured application it would be better to use server side validation. You can use struts validation framework to validate fields.
- 07-13-2010, 01:25 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think it's better to avoid validation on server-side as much as possible. The reason is, even on a secure application (payment gateway for an example) even the validation not deals with the data manipulation it's no need to worry about. Thing you must not mes-up with is that the secure data manipulation on the client side.
Similar Threads
-
The method myFunction(String) is undefined for the type
By jfill in forum New To JavaReplies: 2Last Post: 05-07-2010, 11:02 PM -
Hello Good Morning, Good afternoon, and Good Evening
By MrFreeweed in forum IntroductionsReplies: 3Last Post: 12-11-2009, 03:32 PM -
Method return type problem
By McChill in forum New To JavaReplies: 7Last Post: 05-05-2009, 09:21 PM -
Help: how can get method, arg, return type... from a file .class
By ykzforever in forum New To JavaReplies: 4Last Post: 11-25-2008, 05:53 AM -
i'm no good in calling Method please help
By lowpro in forum New To JavaReplies: 1Last Post: 11-26-2007, 05:15 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks