done"
--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
: 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
"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 =
(ActionMappings)pageContext.getAttribute(Action.MAPPINGS_KEY,Page
, 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
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
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:http://www.irista.com/images/com
Does anyone know how to get the servletContext from within a custom tag
(public class MyTag extends SupportTag...)
Thanks!
Nate
7 matches
Mail list logo