You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Brad Cupit (JIRA)" <ji...@apache.org> on 2010/07/23 22:51:50 UTC

[jira] Updated: (WW-3469) convention plugin does not apply interceptors unless there is an Action

     [ https://issues.apache.org/jira/browse/WW-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brad Cupit updated WW-3469:
---------------------------

    Attachment: apply_interceptors.patch

> 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.