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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...