Results 1 to 3 of 3
  1. #1
    javastuden's Avatar
    javastuden is offline Senior Member
    Join Date
    Nov 2009
    Posts
    160
    Rep Power
    5

    Default 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

  2. #2
    rkumar is offline Member
    Join Date
    Jul 2010
    Posts
    3
    Rep Power
    0

    Default

    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.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by rkumar View Post
    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.
    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

  1. Replies: 2
    Last Post: 05-07-2010, 11:02 PM
  2. Hello Good Morning, Good afternoon, and Good Evening
    By MrFreeweed in forum Introductions
    Replies: 3
    Last Post: 12-11-2009, 03:32 PM
  3. Method return type problem
    By McChill in forum New To Java
    Replies: 7
    Last Post: 05-05-2009, 09:21 PM
  4. Replies: 4
    Last Post: 11-25-2008, 05:53 AM
  5. i'm no good in calling Method please help
    By lowpro in forum New To Java
    Replies: 1
    Last Post: 11-26-2007, 05:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •