All,
Struts 1.1b3: I am using the org.apache.struts.scaffold.RelayAction action to handle values from a dispatch parameter. My problem is that the forwards are only working for jsp's. My actions are returning 404's. Here are some action mappings from my struts.config:

<!--Main Menu Forward -->
<action
path="/mainMenuForward"
type="org.apache.struts.actions.ForwardAction"
name="customerForm"
scope="request"
parameter="/jsp/admin/mainMenu.jsp" />

<!--Parent AddCustomer RelayAction -->
<action
path="/addCustomer"
type="org.apache.struts.scaffold.RelayAction"
name="customerForm"
scope="request"
validate="false" >
<forward
name="init" path="/jsp/admin/addCustomer.jsp?dispatch=init"/>
<forward
name="add" path="/addCustomerAdd"/>
<forward
name="done" path="/mainMenuForward"/>
</action>

When I go to "addCustomer.do?dispatch=init" it forwards correctly to the jsp....
When I go to "addCustomer.do?dispatch=add or dispatch=done" I get a 404

Separately I can access addCustomerAdd.do and mainMenuForward.do and they work. Perhaps I have missed something obvious. Any suggestions?

tia,

Dan McGowan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to