Hi all,

I have a servlet which I need to monitor from another
servlet or JSP. A user needs to load and unload the
servlet using the JSP.
There are two things I need to know:
1. How to load the servlet from the JSP:
   In Servlet API 2.0 we have the
getServlet()/getServletName()/getServletNames() method
on the servletContext object with which one could find
out if a particular servlet is currently loaded or
not. In case it is not loaded we can simply post a
form to the servlet from the JSP and have the servlet
loaded.
However in Servlet API 2.1 these methods of
servletContext always return null and in future
versions of Servlet API these are no longer going to
be supported and there are going to be no replacements
for these methods (this is the info I got from the
servlet api doc).
So now is there some way of knowin in one servlet or
JSP if another servlet is currently loaded or not and
invoking one servlet from another servlet/JSP.

2. Is there any way to unload a currently loaded
servlet from another servlet/JSP.
Calling the destroy() method will not do that.


-thanks
Tikoo

__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

___________________________________________________________________________
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