On Tue, 12 Jun 2001, Anson To wrote:

> Hi ya,
>
> Just a very simple question.  How can I retrieve the name of servlet
> from itself?  I have skimmed through the API with the relevant
> method is deprecated.  Wanna use it when printing debugging
> message.

Try getServletName() (not getServlet() or getServletNames(), which are
deprecated).

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to