I think I am not clear about how to access the
jsp file. I need some help. I am using myeclipse 5.x version.
Here is my web.xml and struts-config-Test.xml files.
I want to know what url I have to give to access testindex.do
http://localhost:8080/UI/testindex.do ...invalid path error web.xml
******************************************************
<init-param>
<param-name>config/Test</param-name>
<param-value>/WEB-INF/struts-config-Test.xml</param-value>
</init-param>
************************************************************
Struts-config-Test.xml **************************************
<struts-config>
<data-sources />
<form-beans >
<form-bean name="testForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="firstname" type="java.lang.String" />
</form-bean>
</form-beans>
<action-mappings >
My test.jsp is under Webroot/Test/test.jsp. My project name is UI <action
attribute="testForm"
input="/Test/test.jsp"
name="testForm"
path="/test"
scope="request"
type="com.mycompany.struts.action.TestAction" />
<action forward="/Test/test.jsp" path="/testindex"/>
</action-mappings>
<controller />
<message-resources
parameter="com.mycompany.struts.ApplicationResources" />
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
**************************************
I want to know what url I have to give to access /testindex.do