This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
does anyone know how to modify a httpservletrequest in a struts action? (I know I can use httpservletrequestwrapper, but how/where do we set it? since the "request" in "action" is discarded after execute(.) -it's scoped locally.) In other words, how do we modify the request before the resource specify in "ActionForward" is executed?
-I am waiting for download of struts source to see how the request is passed/used with ActionForward - that is, the class that "drives" the action...which might show some clues.
Joined: Oct 10, 2003
ok - it looks like I can extend org.apache.struts.action.RequestProcessor and/or use ComposableRequestProcessor for this - Is there an easier way, anyone?