struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aymeric Alibert" <AymericAlib...@alliantenergy.com>
Subject ActionForward bug and Struts 1.1-b2
Date Tue, 20 Aug 2002 21:21:47 GMT
Hi All,

In my action class, when I create an ActionForward object using an absolute path, Struts does
not forward to the proper page.

The following code is working in Struts 1.1-b1:

public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest req, HttpServletResponse res) {

    ...
    RedirectingActionForward redirect = new RedirectingActionForward("http://localhost:8080/myapp/home.do");
    return redirect;
}

In Struts 1.1-b2, the same code tries to redirect to http://localhost:8080/myapp/http:/localhost:8080/myapp/home.do

I had the same problem when using regular ActionForward instead of RedirectingActionForward.

Any suggestion?

Thanks,
Aymeric.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message