[
https://issues.apache.org/jira/browse/WW-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563538#comment-13563538
]
Lukasz Lenart commented on WW-3972:
-----------------------------------
Did you configure Spring with annotations scanning?
{code:xml}
<context:annotation-config />
<context:component-scan base-package="com.company.actions" />
{code}
Did you try to use the Struts 2 CDI plugin?
> Action Class Post Construct Method
> ----------------------------------
>
> Key: WW-3972
> URL: https://issues.apache.org/jira/browse/WW-3972
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - Spring
> Reporter: nick
> Priority: Minor
> Fix For: 3.x
>
>
> It would be better, if struts2 can take advantage of post constructor method
> call in Action classes. There are cases like loading various resources, etc
> immediately after struts Action class initialized. In fact, it's like every
> action can have an optional post constructor method where we can do all other
> common chores.
--
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: http://www.atlassian.com/software/jira