Two Laptop Bag*
The moose likes Struts and the fly likes Jsp Expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Jsp Expression" Watch "Jsp Expression" New topic

Jsp Expression

vijaya bacina
Ranch Hand

Joined: Aug 23, 2005
Posts: 155
I am using <html:radio> for displaying radio buttons on JSP

but the html it is genrating is like this

if i am using the <input> tag, it is working fine by giving
but to reset the form each time when form is loading is the problem
please help me in solving this
vijaya bacina
Ranch Hand

Joined: Aug 23, 2005
Posts: 155
So simple
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Yea, I have learned that it is an all or nothing thing when it comes to using JavaScript. You could also have done this

value='<%= "cTrip_" + tripId.toString()%>'

- Brent
It is sorta covered in the JavaRanch Style Guide.
subject: Jsp Expression
Similar Threads
how do i make a radio button to be checked when a page loads up?
Please look into this problem
selecting a radio button for IE & Netscape
Using html:radio with indexed attribute
Validating struts <html:radio> button