struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <w...@wantii.com>
Subject Re: Need some help tracing down a bug...
Date Thu, 01 Oct 2009 21:02:39 GMT
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 <musachy@gmail.com> wrote:
> no clue
>
> On Thu, Oct 1, 2009 at 1:15 PM, Nils-Helge Garli Hegvik
> <nilsga@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-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@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-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message