Hi,
I have a web application deployed on Orion Servert. I am using
Struts stuffs.
This is my validation.xml
<form-validation>
<formset>
<form name="employeeForm">
<field
property="name"
depends="required">
<arg0 key="employeeForm.name"/>
</field>
</form>
</formset>
</form-validation>
In the struts-config.xml, I have the following..
<global-forwards>
<forward name="employeeform" path="/employeeForm.jsp"/>
</global-forwards>
<!-- Action Mapping Definitions -->
<action-mappings>
<action path="/insertEmployee"
type="net.reumann.InsertEmployeeAction"
name="employeeForm"
scope="session"
input = "employeeform"
>
<forward
name="success"
path="/confirmation.jsp"/>
<forward
name="failure"
path="/confirmation.jsp"/>
</action>
</action-mappings>
When I submit my
JSP, And If I dont enter the name field , Validation fails as expected but my request is not getting forwarded.
I am getting this message from the console.
Deligating Via Forward to 'employeeform'.
I am getting Internal Server error on the page.
When I enter the name field, the flow goes fine.
Please help me on this.
Thanks,
Umar