struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1571) actionMapper null in ServletRedirectResult
Date Thu, 28 Dec 2006 00:56:57 GMT
     [ 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

        

Mime
View raw message