Bo Xu wrote:
>
> Hi,
>
> Sorry for bothering you with a "strange" question :-) I have
> already read the API document of Servlet, but I didn't find
> the answer by myself .
>
> I want to know which class(es) implement(s)
> Interface javax.servlet.http.HttpServletResponse ?
Lots of classes. The specific concrete class that implements
HttpServletResponse is provided by the servlet engine. So, servletrunner
that comes from Sun has some concrete class that implements
HttpServletResponse. JRun provides it own implementation. Tomcat
provides a class... etc.
To find the specific class for your servlet engine, you will need to
find the jar or zip file that holds the classes used by the servlet
engine. Inspect that archive to look at the class name.
For example, in JRun 2.3.1, there is a jar file called jrun.jar. Inside
this archive is the class
com/livesoftware/jrun/JRunServletResponse.class. As a minimum, I would
guess this class implements the ServletResponse interface. There doesn't
appear to be any other class in that archive that might implement
HttpServletResponse, so I would guess that JRunServletResponse might
implement that interface.
K Mukhar
___________________________________________________________________________
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