> Is it possible to forward to something without
> creating an action class and coding the perform
> method?

<action path="/test" forward="/WEB-INF/test.html" />

Or one could write a NullAction class... 

public class NullAction extends Action {
  public ActionForward perform(ActionMapping mapping,
      ActionForm form,
      HttpServletRequest request,
      HttpServletResponse response){
      return mapping.findForward("success");
  }
}

And use it like this...

<action path="/test" type="NullAction" >
      <forward name="success" path="/WEB-INF/test.html" />
</action>


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

Reply via email to