Solved

Changeing Struts Validation at time

Posted on 2007-11-15
1
565 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I   ajax html table  rows? 20 76
Spring Framework HTTPSession management 1 36
MySqlDump not dumping triggers 1 31
Html Table Looping (part 2) 5 8
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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.

810 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