Hi, I have a bit of a problem and would appreciate some help!

I am creating a page that takes in a name and a text and runs an algo on the
text and then asks for user feedback.

I use radio Buttons to ask for the feedback (Positive or Negative)

Therein lies the catch.. I am not able to pass the value from the radio
button onto the bean and hence to the actionclass.

The code for the Part of the radio button is as follows:

According to you does the document express Positive or Negative sentiment?

<input type="radio" name="Senti" value="Pos"/>Positive <input type="radio"
name="Senti" value="Negative"/>Negative <html:submit value="Submit" />
</html:form>
I have defined a getter and setter method in my bean (using a string type)
But it does not seem to get the value as if I try and display it it displays
NULL.. <\p>

I would really appreciate some help Thanks in hope! <\p> 
-- 
View this message in context: 
http://old.nabble.com/Passing-Value-through-Radio-Buttons-in-struts-tp29027002p29027002.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to