This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "hi i Watch "hi i New topic
Author

hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp

santhosh hiremat
Greenhorn

Joined: Jan 04, 2011
Posts: 1

<td height="87" rowspan="3">
<html:errors property="service"/>
<html:radio property="service" value="10"/>VS
<html:radio property="service" value="20"/>S
<html:radio property="service" value="30"/>NS
</td>
James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
what error message you want to show?

I assume that you want to show error message when user input is invalid.

below is the procedure.

in jsp

in action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp
 
Similar Threads
How to disable html:checkbox based on html:radio selection
strut exception
equivalent of checked attribute of radio button in struts
How do I fill the radio button value from indexId bean
using Multiple submit buttons.