GeeCON Prague 2014*
The moose likes Struts and the fly likes Getting value from a form bean in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Getting value from a form bean in JSP" Watch "Getting value from a form bean in JSP" New topic
Author

Getting value from a form bean in JSP

Alex Yip
Greenhorn

Joined: Apr 07, 2006
Posts: 19
Hi Everyone!

I have a form of groups of radio buttons (a survey). When an administrator opens the survey, I want to highlight which answers were not answered.

I have a form bean setup. Let's say q1, q2, etc... for each question. I'm using <html:radio> in the form. How would I go in and check the value in my content jsp? I tried using a <c:if>, but I don't know what to put in my test condition. Is this doable? Anyone have any ideas?

Thanks!
 
GeeCON Prague 2014
 
subject: Getting value from a form bean in JSP