I don't know what would have changed from 2.1.6 to now (outside of
DefaultActionMapper), but I know prior to 2.1.6 we made a change to
have the default extension be - ,,action

I don't know if it's related, but thought I'd bring it up.

-Wes

On Thu, Oct 1, 2009 at 4:57 PM, Musachy Barroso <musa...@gmail.com> wrote:
> 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
>
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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

Reply via email to