struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Rosenberg (JIRA)" <>
Subject [jira] [Created] (WW-4160) Construct UnknownHandler using Spring
Date Tue, 30 Jul 2013 17:39:51 GMT
Jasper Rosenberg created WW-4160:

             Summary: Construct UnknownHandler using Spring
                 Key: WW-4160
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - Spring, XML Configuration
    Affects Versions:
            Reporter: Jasper Rosenberg
            Priority: Minor

I have a custom unknown handler in my struts2 definition (to return a 404 in production if
the method is not found).  I would like to have the handler constructed by Spring instead
of the xwork container though so that I can have some other logging/debugging resources injected.

    <bean type="com.opensymphony.xwork2.UnknownHandler" name="pageNotFoundUnknownHandler"

       <unknown-handler-ref name="pageNotFoundUnknownHandler" />

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message