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”>
<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!