struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Cupit (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-3469) convention plugin does not apply interceptors unless there is an Action
Date Fri, 23 Jul 2010 20:51:50 GMT
convention plugin does not apply interceptors unless there is an Action
-----------------------------------------------------------------------

                 Key: WW-3469
                 URL: https://issues.apache.org/jira/browse/WW-3469
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Convention
    Affects Versions: 2.1.8.1
            Reporter: Brad Cupit
         Attachments: apply_interceptors.patch

When you have a JSP named but no corresponding action, the convention plugin does not run
the interceptors.
Codebehind+zero config did 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.

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message