STRUTS - AUTOMATIC FIELD VALIDATION

S

SerSob

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,999
Latest member
MakersCBDGummiesReview

Latest Threads

Top