no clue

On Thu, Oct 1, 2009 at 1:15 PM, Nils-Helge Garli Hegvik
<nil...@gmail.com> wrote:
> In DefaultActionMapper.getUriFromActionMapping(ActionMapping):
>
> The code tries to resolve which extension to use.
>
> String extension = mapping.getExtension();
>        if (extension == null) {
>            extension = getDefaultExtension();
>            // Look for the current extension, if available
>            ActionContext context = ActionContext.getContext();
>            if (context != null) {
>                ActionMapping orig = (ActionMapping)
> context.get(ServletActionContext.ACTION_MAPPING);
>                if (orig != null) {
>                    extension = orig.getExtension();
>                }
>            }
>        }
>
> In 2.1.6 the line orig.getExtension() returns ".action". In 2.1.8,
> orig.getExtension() returns null. Does anyone know what code change
> that could have caused this?
>
> Nils-H
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to