Ok read through many post here about radio buttons and
jsp. Some come close to answering question, but not close enough.
I have a webpage that has 2 frames, and in those to frames are seperate jsp. The top is the header, which has nice picture and a row of four radio buttons.
<td>
<input type="radio" value="today" name="timeFrame" checked/><b>Today</b>
<input type="radio" value="week" name="timeFrame"/><b>7 Days<b>
<input type="radio" value="month" name="timeFrame"/><b>30 Days<b>
<input type="radio" value="all" name="timeFrame"/><b>All Days<b>
</td>
The bottom frame has jsp that displayes info. According to time span. Example last 7 day, last 30 days , today, and all days.
Now my problem is I need to make it so the radio buttons on the first jsp page at top frame are connected somehow to the 2nd jsp at bottom so that when a user clicks on one of the radio buttons at top the bottom jsp responds by showing the approprate page.
I do not know how to pass the value of the radio button that is chosen to the 2nd jsp page?
The 2nd page has the <@ code in it to diplay the appropriate page. I just dont get how to tell the 2nd jsp page what radio button on the 1st jsp page is choosen.
Any help much appreciated.
Thank you