public java.lang.String getServletName()

Returns the name of this servlet instance.
See ServletConfig.getServletName().
Specified by:
getServletName in interface ServletConfig
Returns:
the name of this servlet instance

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of Wil
Moore
Sent: Wednesday, July 10, 2002 4:11 PM
To: [EMAIL PROTECTED]
Subject: Servlet Name


How do I output the name of the servlet's class?
In other words, if I have a servlet class named
TestServlet, how do I output "TestServlet" without
Hard coding it?

-Wil

________________________________________________________________________
___
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

___________________________________________________________________________
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