- This topic has 5 replies, 2 voices, and was last updated 20 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
ScottMemberIs 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.
Riyad KallaMemberI 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).
ScottMemberThat sure did the trick! Thanks Riyad.
Riyad KallaMemberGlad it worked
ScottMemberConsider 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”>
<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!
Riyad KallaMemberWhen 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.
-
AuthorPosts