facebook

Struts config editor is goofy

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    While creating a local forward for an action for struts 1.1 I noticed that the “Redirect” check box wasn’t working correctly for me. I looked at the code generated for the “Redirect” and “Context Relative” check boxes:

    Redirect CHECKED, Context Releative CHECKED produces:
    <forward name=”success” path=”/index.jsp” />

    Redirect NOT CHECKED, Context Releative CHECKED produces:
    <forward name=”success” path=”/index.jsp” redirect=”false” />

    Redirect CHECKED, Context Relation NOT CHECKED produces:
    <forward name=”success” path=”/index.jsp” contextRelative=”false” />

    Redirect NOT CHECKED, Context Relation NOT CHECKED produces:
    <forward name=”success” path=”/index.jsp” redirect=”false” contextRelative=”false” />

    The configuration editor seems to believe the default is true for both redirect and contextRelative but my testing so far shows that at least the redirect defaults to false.

    I’m I missing something or should the configuration editor not rely on the defaults?

    –josh

    #210802

    After looking at the DTD it looks like both the redirect and contextRelative attributes default to false. The struts configuration editor needs to be fixed because it thinks they default to true.

    #210905

    support-michael
    Keymaster

    Josh,

    Thanks for the report. I verified this behavior and noticed that our test-case logic was backwards. I added a problem report with you info and it will be addressed in the next release.

    Regards,

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Struts config editor is goofy

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