aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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