Solved

Changeing Struts Validation at time

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now