The question really is: how do you get a reference to the current app module (from the HttpServletRequest !request!?) in the struts action class?
I’d recommend taking advantage of the ADF Data Action which does it for you, but the article first goes through a bare-bones example without the Data Action, then shows an example using the DataAction, then takes that one step further to illustrate how to accomplish the method invocation in the previous step in a declarative way.
Related Questions
- With the GAO report, congressional hearings, the DOL 408 project and class action suits on revenue sharing with mutual funds, what advantage do ETFs have?
- Is formal action of the board of education required for student-funded programs such as yearbooks, class rings and gifts?
- What is a class action settlement?