See my answers below :----------

-----Original Message-----
From: Shankar [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 7:12 AM
To: [EMAIL PROTECTED]
Subject: Servlet Registered Name


Hello,

I have a few questions about servlet's registered name.

What is meant by Servlet's Registered Name?
Bhushan> The name with which you want to associate the servlet class in
server deploy descriptor.

Is it means a servlet can have more than one Name..?
Bhushan> I guess yes a servlet can have more than one name. Just check it by
doing it, but I wonder what you want by doing this?

Is is it different for different web server?
Bhushan> As such all the descriptors are almost same just little bit of
differences are there.

How to set it in a Web server like VisualAge?
Bhushan> I guess it there should be some descriptor for that. But visualAge
is an IDE which comes with inbuilt IBM WebSphere App server.

Is is possible to set/get Servlet Registered Name via any servlets.? Can
somebody help me?
Bhushan> you can use getServletName() in your servlet which will return the
name of servlet if assigned otherwise will return the class name.

Thanks,
Shankar

___________________________________________________________________________
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


"The information in this e-mail, and any attachment therein, is
confidential and for use by the addressee only. If you are not the
intended recipient, please return the e-mail to the sender and delete
it from your computer. Although The Bank of New York attempts to
sweep e-mail and attachments for viruses, it does not guarantee that
either are virus-free and accepts no liability for any damage sustained
as a result of viruses."

___________________________________________________________________________
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