Does anyone know how to get the servletContext from within a custom tag
(public class MyTag extends SupportTag...)
Thanks!
Nate
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
begin:vcard
n:;
x-mozilla-html:FALSE
org:BRIMG
Try this
ServletContext con = pageContext.getServletContext();
regards
Thomas
-Ursprüngliche Nachricht-
Von: Johnson, Nathaniel [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 1. Oktober 2001 21:49
An: '[EMAIL PROTECTED]'
Betreff: getting the servlet context
Does anyone know how to get
, 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
Johnson, Nathaniel a écrit :
Does anyone know how to get the servletContext from within a custom tag
(public class MyTag extends SupportTag...)
Thanks!
Nate
i did it that way seems to work
ActionMappings mappings =
: Monday, October 01, 2001 3:00 PM
To: [EMAIL PROTECTED]
Subject: AW: getting the servlet context
Try this
ServletContext con = pageContext.getServletContext();
regards
Thomas
-Ursprüngliche Nachricht-
Von: Johnson, Nathaniel [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 1. Oktober 2001 21:49
--Linus Torvalds--
- Original Message -
From: Johnson, Nathaniel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 01, 2001 2:49 PM
Subject: getting the servlet context
Does anyone know how to get the servletContext from within a custom tag
(public class
7 matches
Mail list logo