[
https://issues.apache.org/struts/browse/WW-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Holmes closed WW-2018.
----------------------------
Resolution: Not A Problem
This is not an issue. The <action name="springExample" class="springAction"> is
correct. The Spring plugin will recognize "springAction" as a bean
defined/managed by Spring and should not be full qualified in the struts.xml
file.
> bad class name in struts.xml (springaction) makes the portlet demo not loading
> ------------------------------------------------------------------------------
>
> Key: WW-2018
> URL: https://issues.apache.org/struts/browse/WW-2018
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: not relevant
> Reporter: olivier dupuy
> Assignee: James Holmes
>
> struts.xml (in both src and web-inf/classes) should have aline fixed
> convert
> <action name="springExample" class="springAction">
> <result name="success">
> /WEB-INF/view/springExample.jsp
> </result>
> </action>
> to
> <action name="springExample"
> class="org.apache.struts2.portlet.example.spring.SpringAction">
> <result name="success">
> /WEB-INF/view/springExample.jsp
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.