Hi,
if u use jwsdk , u don't need to register it , so  servlet running using
jwsdk will be unregister,
in this case getServletName will return the servlet's class name.


                Ashwani Singhal
                HCL Perot Systems
                Office Board : 91-11-8-4581236-41 Extn 3122
                Direct No : 4587653
                Fax : 91-11-8-4581235
                (If calling from Delhi, use 91 instead of 8)
                e-mail : [EMAIL PROTECTED]

                Visit Us at http://www.hclperot.com


> -----Original Message-----
> From: Gokul Singh [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 5:04 PM
> To:   [EMAIL PROTECTED]
> Subject:      getServletName confusion.
>
> Hi,
>
> Here is a snippet from the api docs for ver 2.2.  I am not able to
> understand under which condition can the servlet exist and not have a
> name.
> How do you invoke an unregistered servlet using tomcat.
>
> Can someone please explain this to me.
>
> Please excuse me if I am missing something obvious.
>
> < api doc snippet>
> getServletName
> public java.lang.String getServletName()
> Returns the name of this servlet instance. The name may be provided via
> server administration, assigned in the web application deployment
> descriptor, or for an unregistered (and thus unnamed) servlet instance it
> will be the servlet's class name.
> Returns:
> the name of the servlet instance
> </api doc snippet>
>
>
> regds,
> Gokul
>
> __________________________________________________________________________
> _
> 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