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=26192>. 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=26192 forward element redirect and className attributes not honored Summary: forward element redirect and className attributes not honored Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm trying to get a redirecting action forward to work, with the following forward element within an action element: <forward name="failure" path="/" redirect="true"/> it seems that the redirect attribute is not honored, as the following code in the corresponding action element: ActionForward forward = mapping.findForward("failure"); System.err.println("--------redirect: " + forward.getRedirect()); will result in the output: --------redirect: false I also tried forcing the RedirectingActionForward class to be used with: <forward name="failure" path="/" redirect="true" className="org.apache.struts.action.RedirectingActionForward"/> but it seems that the className attribute is not honored either, as the following code: ActionForward forward = mapping.findForward("failure"); System.err.println("--------redirect: " + forward.getRedirect()); System.err.println("--------class: " + forward.getClass()); will output: --------redirect: false --------class: class org.apache.struts.action.ActionForward I'm using nightly build: jakarta-struts-20040113.tar.gz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]