You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/12/28 01:56:57 UTC

[jira] Resolved: (WW-1571) actionMapper null in ServletRedirectResult

     [ http://issues.apache.org/struts/browse/WW-1571?page=all ]

Don Brown resolved WW-1571.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown

> actionMapper null in ServletRedirectResult
> ------------------------------------------
>
>                 Key: WW-1571
>                 URL: http://issues.apache.org/struts/browse/WW-1571
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Ted Husted
>         Assigned To: Don Brown
>            Priority: Blocker
>             Fix For: 2.0.2
>
>
> At applicatin runtime, the local instance of actionMapper is null in ServletRedirectResult when an action prefix is used.  
> * <@s.submit name="redirect:http://www.google.com" value="%{'redirect prefix'}" />
> Works but the actionMapper is null (just not accessed)
> 			
> * <@s.submit name="redirect-action:redirectActionPrefix" value="%{'redirect-action prefix'}" />
> Does not work because null actionMapper is accessed.
> *     <@s.submit name="action:redirectActionPrefixAction" value="%{'redirect-action without prefix'}" />
> Works (utilizes configuration instead of embedded prefix)
> The problem may have come about in r414191, when we switched over to injection. 
> http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletRedirectResult.java?view=log

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira