tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kalyan Inuganti <>
Subject HttpServletRequest/TagHandler - Scope Question
Date Thu, 03 Feb 2005 23:19:13 GMT

I am creating a JSP which in turn calls my which
extends javax.servlet.jsp.tagext.TagSupport. I would like to access
the HttpServletRequest object that is in the JSP's scope in the
XXXTagHandler class. What is the best way of getting the
HttpServletRequest object?

Will ((HttpServletRequest)super.pageContext.getRequest()) do it? 

What I am trying to achieve:

The JSP Page passes a Role Name to the TagHandler. The TagHandler
needs to call the isUserInRole("abc"); method of HttpServletRequest
and return a true/false to the JSP.

Any help will be greatly appreciated.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message