DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17536>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17536 ActionForward with redirect doesn�t work .... Summary: ActionForward with redirect doesn�t work .... Product: Struts Version: 1.1 RC1 Platform: All OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If i return in an action a new actionforward with url and redirect==true ( or take a redirectingactionforward) the controller wants to access "/"+ the redirecting url. public class PayWagerAction extends AuthorizedAction { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, UserInfo userinfo) { // gets the session and payment/prognosis objects HttpSession session = request.getSession(); try { InternetPayment payment = ... payment.init(); return new ActionForward(payment.getRedirectURL(),true); //response.sendRedirect(payment.getRedirectURL()); return null; <-- this works !!! } catch (Exception e) { e.printStackTrace(); } return mapping.findForward(Constants.FORWARD_FAIL); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
