When using action chaining in Struts 2, MyEclipse shows errors in struts.xml even when there are none to be found. I know that Action chaining is not a recommended approach, but we have an old project using it, and for the time being I’m stuck with them.
According to the documentation, you should be able to define an action chain as simple as this:
<action name=”createAccount” class=”…”>
<result type=”chain”>login</result>
</action>
When I do however, MyEclipse shows two errors on the action type = chain row:
– Undefined actionnamespace parameter
– Undefined actionName parameter
According to the struts documentation, I can define those, but they are optional, and hence MyEclipse should not report this as an error when they are missing.