struts.xml ?

2011/9/2 hiyoucai <hiyou...@126.com>:
>
>
> struts.xslt.nocache=false
> struts.mapper.alwaysSelectFullNamespace=true               --------------> 
> set true will work
> struts.ognl.allowStaticMethodAccess=false
>
> struts.convention.action.packages=xxx.apps
> struts.convention.action.suffix=Action
> struts.convention.result.path=/result/
> struts.convention.result.flatLayout=false
> struts.convention.action.disableScanning=false
> struts.convention.default.parent.package=default
> struts.convention.package.locators.disable=true
> struts.convention.classes.reload=false
>
>
>>Could you show your mapping fot that action ?
>
>>2011/9/2 hiyoucai <hiyou...@126.com>:
>> dear all:
>>
>> I have used the struts 2.1.6 for a long time.
>>
>> but now, my boss give a new development task to me,
>>
>> because I love to try a new thing, so  I want to update jar lib to  struts 
>> 2.2.3,  just try, but find some bugs.
>>
>> I have a url ' http://127.0.0.1/main/a/' which is  mapping to a default 
>> index action,so this url really forward to  ' 
>> http://127.0.0.1/main/a/index.do'
>>
>> but now .I visit this url, it is not work,I have tracked the http log.So 
>> Unimaginable.
>>
>> visit the url http://127.0.0.1/main/
>> Redirect to http://127.0.0.1/main//
>> Redirect to http://127.0.0.1/main///
>> Redirect to http://127.0.0.1/main////
>> Redirect to http://127.0.0.1/main/////
>> Redirect to http://127.0.0.1/main//////
>> Redirect to http://127.0.0.1/main///////
>> Redirect to http://127.0.0.1/main////////
>> Redirect to http://127.0.0.1/main/////////
>> Redirect to http://127.0.0.1/main//////////
>> Redirect to http://127.0.0.1/main///////////
>> Redirect to http://127.0.0.1/main////////////
>> Redirect to http://127.0.0.1/main/////////////
>> .
>> until
>> .
>> Redirect to 
>> http://127.0.0.1/main//////////////////////////////////////////////////////////////////////////////////////////////////////
>>
>> I think it  is a bug Although  I have finded a solution that set the 
>> 'struts.mapper.alwaysSelectFullNamespace=true'
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>

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

Reply via email to