facebook

Errors in struts.xml when using Action chaining

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #313413 Reply

    colte
    Member

    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.

    #313425 Reply

    support-swapna
    Moderator

    colte,

    I could replicate it at my end. I will consult the dev team and get back to you on this.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Errors in struts.xml when using Action chaining

You must be logged in to post in the forum log in