I have tried that and it fails... when I debug, it says that pageContext is
returning null.  Is there something that I have to do to enable page context
in the tag class or the jsp using the tag?

-----Original Message-----
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: getting the servlet context


try

  pageContext.getServletContext()

HTH,
    Pete

"Johnson, Nathaniel" wrote:

> Does anyone know how to get the servletContext from within a custom tag
> (public class MyTag extends SupportTag...)
>
> Thanks!
> Nate

Reply via email to