• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • Last Modified:

Changeing Struts Validation at time

Hi -

I'm wondering if there is any way to change the struts validation at runtime?

My Issue -

I've one drop down and 3 text boxes in a jsp page. All these 4 are marked as required.

But depending on the selection of the drop down value, one of the text boxes is disabled and so the user can not enter any thing in that text box. But my struts validation still expects a value to be filled in that disabled box.

How do I resolve this issue. Can I change the struts validation at runtime.

Also, I guess i don't want to use Javascript Validation in this screen.

Please adive!

Thank You,
0
jagadeesh_motamarri
Asked:
jagadeesh_motamarri
1 Solution

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now