RE: Retrieving ServletContext Objects via PageContext

2002-09-24 Thread Jason Johnston
Ok, then I must be having another problem. I'm running into a null pointer exception that I was assuming was the Tag's inability to retrieve a handle on the pool. Here's my code: /* * testTag.java * * Created on September 23, 2002, 3:21 PM */ package boa; import sun.misc.*; import javax.s

RE: Retrieving ServletContext Objects via PageContext

2002-09-24 Thread jon wingfield
The following will work: pageContext.getServletContext().getAttribute("dbPool"); -Original Message- From: Jason Johnston [mailto:[EMAIL PROTECTED]] Sent: 24 September 2002 17:25 To: <"Tomcat Users List" Subject: Retrieving ServletContext Objects via PageContext This may be a stupid que