Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.8.1
-
None
-
Patch
Description
When you have a JSP but no corresponding action, the convention plugin does not run the interceptors.
The code exists in ConventionUnknownHandler, but is commented out.
On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
I'm not sure whether it was purposefully commented out, or accidentally commented out
I have tested the commented-out code and it does work.
In Struts 2.0 + Codebehind + zero config, the interceptors were run when there was no corresponding action.
Why do I need interceptors when there is no action?
----------------------------------------------------------------------
We have some interceptors which set values in the request/session and we'd like to access these values in the JSP