| Author |
Populating previously selected Radio Button Values - On reaching the Same JSP pae
|
Saurabh KumarD
Greenhorn
Joined: Jul 23, 2009
Posts: 12
|
|
Hi,
I am working in a scenario in which on a JSP page, I am including static html files using jsp: include (Since jsp file names are to be determined at run time). These static html files have some text and some radio buttons.
On the page I select a radio button and submit. I am using struts framework. I reached to a next page. Where I have a button which takes me to previous page again using struts action.
I want that now again on reaching the page, my previously selected radio value should be displayed to me. I have tried setting the selected value in the form. But it didn’t work.
Can anyone please help me in this scenario?
Thanks
Saurabh
|
 |
Lucas Grijander
Greenhorn
Joined: Feb 10, 2009
Posts: 9
|
|
in my modest opinion, I think you can't modify static html content in that way because, as its name says, its static!!
otherwise, use the name attribute of the s:radio to prepopulate it.
|
 |
 |
|
|
subject: Populating previously selected Radio Button Values - On reaching the Same JSP pae
|
|
|