facebook

Struts Design View [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #220248 Reply

    Scott
    Member

    Is there a way to get the GUI of the struts-config file to update? My changes to this file are not being reflected in the graphical view.

    #220250 Reply

    Riyad Kalla
    Member

    I believe there is a refresh button up by the zoom drop down box in your toolbar (be sure to custommize toolbar and add the MyEclipse buttons).

    #220268 Reply

    Scott
    Member

    That sure did the trick! Thanks Riyad.

    #220271 Reply

    Riyad Kalla
    Member

    Glad it worked

    #220272 Reply

    Scott
    Member

    Consider the following config file:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE struts-config PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.1//EN” “http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd”&gt;
    <struts-config>

    <data-sources />
    <form-beans >
    <form-bean name=”courseSearchForm” type=”eclipse.kickstart.struts.form.CourseSearchForm” />
    </form-beans>

    <global-exceptions />
    <global-forwards >
    <forward name=”unknown” path=”/unknown.jsp” />

    </global-forwards>

    <action-mappings >
    <action
    attribute=”courseSearchForm”
    input=”/courseSearch.jsp”
    name=”courseSearchForm”
    path=”/courseSearch”
    scope=”request”
    type=”eclipse.kickstart.struts.action.CourseSearchAction”>
    <forward name=”success” path=”/results.jsp” />

    </action>

    </action-mappings>

    <controller bufferSize=”4096″ debug=”0″ />
    <message-resources parameter=”eclipse.kickstart.struts.ApplicationResources” />
    </struts-config>

    Why is courseSearch.jsp appearing on the design view twice? Once as input to courseSearch action (which makes sense) and another time all alone with no lines connecting it!

    #220274 Reply

    Riyad Kalla
    Member

    When I pasted this into a struts-config.xml file here and went to the design tab, I got this:

    I am using MyEclipse 3.8.3 RC though, maybe we fixed a bug? Wait and see if it still happens after we release 3.8.3.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Struts Design View [Closed]

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