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.

Reply via email to