[jboss-user] [JBoss Portal] - getHeader(
mark.vollmann
do-not-reply at jboss.com
Tue Oct 31 05:43:05 EST 2006
Using
jboss portal + as from jboss.org
Version 2.4.0
A portlet includes a jsp page, which in turn calls a tag:
...
String userAgent = ((HttpServletRequest) pageContext.getRequest()).getHeader("User-Agent");
...
userAgent is always null. Request is a RenderRequest.
I know that User-Agent is not required to be sent and unreliable too, but normally the data provided is pretty accurate for our means and we dont want to identify the browser via javascript.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982005#3982005
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982005
More information about the jboss-user
mailing list