struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: How do I get a request header
Date Tue, 12 May 2009 13:30:09 GMT
Jim Collings wrote:
> 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?
> 
> On Tue, May 12, 2009 at 8:37 AM, Norris Shelton <norrisshelton@yahoo.com>wrote:
>> I looked in the interceptors and did not see one that pulled the heders.

AFAIK you have to get the HttpServletRequest, although an interceptor 
for this would be trivial--perhaps a patch to the servlet config 
interceptor; we'd certainly take it.

In the meantime, either grab the request object or create your own 
interceptor/marker interface.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message