RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
age- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 6:10 PM To: 'Struts Users Mailing List' Subject: RE: ActionForward bug and Struts 1.1-b2 Try this before redirecting: ForwardConfig forwardConfig = new ForwardConfig(); forwardConfig.setContextRelativ

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
actually, contextRelative should probably be false in your case. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 6:10 PM To: 'Struts Users Mailing List' Subject: RE: ActionForward bug and Struts 1.1-b2 Try this before r

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
Try this before redirecting: ForwardConfig forwardConfig = new ForwardConfig(); forwardConfig.setContextRelative( true); Mark -Original Message- From: Aymeric Alibert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:40 PM Mark, In my case, I woud like to use the complete p

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Mark, In my case, I woud like to use the complete path to build the ActionForward. When a user access a part of the site that requires login, I first save the current page path in the session using something like: HomAction.java session.setAttribute(PAGE_MEMORY, "" + req.getRequestURL()); r

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
RedirectingActionForward redirect = new RedirectingActionForward("home.do"); return redirect; ? Mark -Original Message- From: Aymeric Alibert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:22 PM In my action class, when I create an ActionForward object using an absolute pat

ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
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