Hmmm... So there isn't already an HeaderInterceptor? Seems odd.
Jim C. On Tue, May 12, 2009 at 8:54 AM, Struts Two <struts...@yahoo.ca> wrote: > > Here is one way I did to get "Authorization" value in the header: > > 1- Define an interceptor that retrieves "HttpServletRequest" > 2- Define an interface ,say HeaderAware. > 3- In your interceptor retrieve related values from Header and then inject > it into your action if it implements "HeaderAware. > > That should do it. > > --- On Tue, 5/12/09, Jim Collings <jlistn...@gmail.com> wrote: > > > From: Jim Collings <jlistn...@gmail.com> > > Subject: Re: How do I get a request header > > To: "Struts Users Mailing List" <user@struts.apache.org> > > Received: Tuesday, May 12, 2009, 12:40 PM > > I am also trying to retrieve an item > > in the header so that I can place it in > > the value stack. Any ideas on how best to accomplish > > this? > > > > Jim C. > > > > On Tue, May 12, 2009 at 8:37 AM, Norris Shelton <norrisshel...@yahoo.com > >wrote: > > > > > I looked in the interceptors and did not see one that > > pulled the heders. > > > > > > > > > Norris Shelton > > > Software Engineer > > > Sun Certified Java 1.1 Programmer > > > Shelton Consulting, LLC > > > ICQ# 26487421 > > > AIM NorrisEShelton > > > YIM norrisshelton > > > > > > > > > > > > > > > > > __________________________________________________________________ > Looking for the perfect gift? Give the gift of Flickr! > > http://www.flickr.com/gift/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >