On Thu, 22 Jun 2000, Rajesh R.Basawa wrote:
> Hi all,
> I have controller servlet which needs to call the member functions
> of other servlets depending on some condition.(Not doGet and doPost
> method). How can it be achieved.The version 2.2 doesn't support
> getServlet() method to get other servlets running on my webserver.
Without knowing the details of your application, my first suggestion
would be to redesign things such that those methods are not buried in
a particular servlet -- sounds like they should be in a different
class, one that's not a servlet and is accessible from your servlets.
Remember, servlets are only part of the application, they handle the
request/response web interface to it (that's a good design principle,
at least).
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