Re: Adding annotations to the interceptor stack

2010-07-26 Thread Lukasz Lenart
defaultStack [1] already has validation interceptor defined, you shouldn't duplicate it. The best way is to create your own stack and play with interceptors - not to refer to other stack. [1] http://struts.apache.org/2.x/docs/interceptors.html Regards -- Ɓukasz + 48 606 323 122

Re: Adding annotations to the interceptor stack

2010-07-26 Thread Kevin Jones
Thanks Lukasz, I found this out the hard way :) Kevin On 26 July 2010 09:31, Lukasz Lenart lukasz.len...@googlemail.com wrote: defaultStack [1] already has validation interceptor defined, you shouldn't duplicate it. The best way is to create your own stack and play with interceptors - not

Adding annotations to the interceptor stack

2010-07-22 Thread Kevin Jones
I'm using the REST plugin and am trying to setup annotations. My package looks like this: package name=default extends=rest-default result-types result-type name=tiles class=org.apache.struts2.views.tiles.TilesResult / /result-types interceptors