This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi. I'm using Struts 2 and the @Action and @Result annotations. I'm trying to get the "selected" value from a form in one of the pages. To do that, I have to pass it to an action and then to a jsp or else, it will display some sort of error. This is my code:
Now, it doesn't forwart to /request.jsp, although it shows a url like this: /setSelected.action. If it doesn't forward the "selected" value, then the grid at /request.jsp will not be rendered at all. And also, if it stays as /setSelected.action, the "selected" value is not included in the ServletActionContext request's paramaters..