using struts 1.1-- The request
http://localhost:8085/wptStrutsHib/createCustomer.dois taking to a blank page instead of taking to "/views/orderCreated.jsp" as specific in struts action below:
<form-bean
name="createCustomerForm"
type="org.apache.struts.ac
tion.DynaA
ctionForm"
>
<form-property name="firstName" type="java.lang.String"></
form-prope
rty>
<form-property name="lastName" type="java.lang.String"></
form-prope
rty>
<form-property name="email" type="java.lang.String"></
form-prope
rty>
</form-bean>
<action
path="/orderCreated"
name="orderCreatedForm"
input="/form/createOrder.j
sp"
scope="request"
type="actions.OrderCreated
Action">
<forward name="orderCreated" path="/views/orderCreated.
jsp" />
</action>
============ The JSP page ==================
<body>
<html:form action="/createCustomer">
Email : <html:text property="email"/><html:er
rors property="email"/><br/>
FirstName : <html:text property="firstName"/><htm
l:errors property="firstName"/><br/
>
LastName : <html:text property="lastName"/><html
:errors property="lastName"/><br/>
<html:submit/><html:cancel
/>
</html:form>
</body>
Start Free Trial