Hi,
I am trying to use global forwards as suggested in the struts patterns on
husted dot com but I am not seeing the request parameter (type) in the
Action class. Here are the relevant pieces from different files.
JSP Code
<html:link page="/display.do">HW</html:link>
struts-config
<global-forwards>
<forward name="display" path="/selectItem.do?type=2"/>
</global-forwards>
...
<action name="itemBean" path="/display" scope="request"
type="SelectItemAction" >
<forward name="failure" path="/falure.jsp">
</forward>
<forward name="success" path="/success.jsp">
</forward>
</action>
I get null for request parameter 'type' in the Action class
SelectItemAction. What am I doing wrong here? Is my path defined properly in
the forward and in the action? Any pointers will be appreciated.
Thanks
AJ