This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am creating an object named(obj1) of some calss on page1.jsp, storing it in request attribute, and forwarding to page2.jsp using jsp:forward action tag.
On page2.jsp I am fetching object obj1. Here I am able to fetch the obj1 successfully. Now my requirement is that , On page2.jsp on clicking of button I want to call page2.jsp and also want the request attribute which I set on page1.jsp.
I can do it using session or application scoped attribute, but how to do it using request attribute ?
Once a request sends its response to the browser (so that a button can be pressed), the request is finished. So there is no way that you can have a request-scoped variable maintained across this action.