Adds an ActionForward
with the specified name and path.
Parameters: forwardName - the name of the forward Parameters: forwardPath - the path of the forward
public ActionForward findForward(String name)(Code)
Always return a valid ActionForward
since we do not care if it exists in the
struts-config. If an ActionForward
was defined using
MockActionMapping.addForward ,
this ActionForward will be returned.
Otherwise a new ActionForward
(with equal name and path) will be returned.
Parameters: name - the name the corresponding ActionForward