struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Krebs <volker.kr...@abas.de>
Subject Accessing http header with ognl
Date Tue, 01 Sep 2009 09:53:37 GMT
Hello,

accessing the http header with JSTL is quite easy:
${header}

but how can I do it using OGNL ?

<s:property value="%{request.header.referer}" />
<s:property value="%{header.referer}" />
Nothing is working.

The Problem is that request.getHeader() is never pushed onto the value 
stack. How can I enable it ?

thanks
Volker

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


Mime
View raw message