I have a struts 2 select element to select the mumber of results to be diplayed per page. I set the selected value in a session variable. On the JSP page I want the user selected value to be pre-selected in the select element. If I hard cord the value it works like this
But if I use value from session using the <s:property> tag it doesn't work
Please help how can I work this out. And secondly, It is always so confusing when it comes to using one struts2 tag inside another. Can somebody provide the sysntax how to use one struts2 tag inside another.