Re: adding a header in a struts 2 interceptor

2008-06-13 Thread Page
Thanks for you help Dave, that was exactly what I needed and all is working! -- View this message in context: http://www.nabble.com/adding-a-header-in-a-struts-2-interceptor-tp17808069p17831109.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: adding a header in a struts 2 interceptor

2008-06-13 Thread Page
Page wrote: > > - except that it can't modify the request. > sorry, meant can't modify the response -- View this message in context: http://www.nabble.com/adding-a-header-in-a-struts-2-interceptor-tp17808069p17824575.html Sent from the Struts - User mailing list ar

Re: adding a header in a struts 2 interceptor

2008-06-13 Thread Page
newton.dave wrote: > > http://struts.apache.org/2.x/docs/writing-interceptors.html > > The result has already been rendered after the invoke, so header > modification would be a bit superfluous ;) > I guess I'm going about this the wrong way. I want the other developers on the team to be able

adding a header in a struts 2 interceptor

2008-06-12 Thread Page
I'm on a project which is using struts 2 on the backend and an inhouse javascript framework on the client side that receives status information from the server in an X-JSON header. I have an interceptor that I'm writing to handle all the needs of the client side framework and a second that mana