STRUTS - AUTOMATIC FIELD VALIDATION

Discussion in 'Java' started by SerSob, Aug 17, 2006.

  1. SerSob

    SerSob Guest

    Hi! I wish you could help me with a problem i'm having with the
    automatic field validations in STRUTS. This is the situation: I'm want
    fill the fields of a form in a jsp page with initial values. To do
    that, i'm not calling the jsp page directly, I'm doing it through it's
    associated form bean. This works ok, but as I also configured struts to
    make automatic validations on those fields (configuring all the
    necesary in the validation.xml and validator-rules.xml), the fields are
    validates also in the first time I call the page. I mean, the first
    time i call the page i only want it to be shown with the initial values
    i want, and I only need to validate those fields when the form is
    submitted.
    Is there a way to call the the jsp page through a bean but avoiding the
    automatic validation for the first time?
    Thanks to all of you.
    Greetings.
    SerSob, Aug 17, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    1
    Views:
    749
    Guest
    Jun 29, 2004
  2. Sumith Mathur
    Replies:
    0
    Views:
    2,191
    Sumith Mathur
    Sep 23, 2004
  3. javadude
    Replies:
    0
    Views:
    719
    javadude
    Feb 16, 2005
  4. Sound
    Replies:
    2
    Views:
    430
    Randy Webb
    Sep 28, 2006
  5. jr
    Replies:
    3
    Views:
    408
Loading...

Share This Page