struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aymeric Alibert" <>
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/");
    return redirect;

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

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

Any suggestion?


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