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
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
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
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
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
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
6 matches
Mail list logo