Solved

Changeing Struts Validation at time

Posted on 2007-11-15
1
566 Views
Last Modified: 2013-12-29
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
Comment
Question by:jagadeesh_motamarri
1 Comment
 
LVL 5

Accepted Solution

by:
deeppra earned 500 total points
ID: 20296503
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
use lov values 2 63
how to see all occupied ports on windows 10 laptop 15 77
CSV file parsing thru Java 13 34
sql import cannot be resolved jsp 3 49
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question