With the new Specification you can probably use the setAttribute(),
getAttribute() to store information and
retrieve informaiton within the same context. I haven't tried it but it
should work.
At 03:05 PM 06/20/2000 +0530, Rajah Nagaraj Raghuraman wrote:
>That was some information...
>Here is another crude method...
>
>Suppose Servlet A wants to display information about Servlet B:-
>instantiate Servlet B in servlet A and do this...
>
>B.getServletInfo();
>
>Thanks,
>Rajah Raghuraman.
>
>
>-----Original Message-----
>From: Chen Li Wen [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 20, 2000 1:07 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Getting Servlet Info
>
>
>For Servlet 2.1 or below, you can use:
>
>getServletContext().getServlet(name).getServletInfo()
>
>but getServlet() is deprecated in Servlet 2.2
>
>liwen
>
>----- Original Message -----
>From: Jackson Ching <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, June 20, 2000 3:21 PM
>Subject: Re: Getting Servlet Info
>
>
>> Rajah,
>>
>> >You can call the getServletInfo() method for that particular servlet. You
>> >will receive a description string if available or else you will get an
>empty
>> >string.
>> >I hope I got your query right???
>>
>> but the servlet info that i wish to get is the servletinfo of
>another servlet. ex. Servlet A,B,C. Servlet A wants to get the servletinfo
>of servlet B and C and display it as an html page.
>>
>>
>> Jackson
>>
>>
>___________________________________________________________________________
>> 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
>
>___________________________________________________________________________
>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
>
Rajesh Nair
[EMAIL PROTECTED]
Ph: 913 599 7201
----------
R&D
Informix Software
___________________________________________________________________________
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