This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I got radio buttons in my JSP, here i need to show a error message if the user didn't select none of the radio buttons (condition is: if the enteredFlag="Y" then all radio buttons must be selected else not required). Here we need to use validation.xml or validator-rules.xml for all validations.But the problem is here i got a "xesp" which is declared as Obect array in struts-config.xml, each object[i] will show what the user selected. 1. how to show the message according to the condtion. 2. its showing the 9 messages if user didn't select 9 options.(it should show only message saying all must be selected)