This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting value from a form bean in JSP
 
Similar Threads
Submit HTML form Data thru Servlet
Struts 1.1 validation help on Requiredif
Setting an option value
enctype="multipart/form-data"
enctype="multipart/form-data"