>>> Liam Dens <[EMAIL PROTECTED]> 02-Feb-00 11:52:43 AM >>>
>How do you pass the request and response objects to another Servlet
>in pre 2.1 API implementations? What I need is to simulate
RequestDispatcher
>functionality as found in the 2.1 API.
You can't quite do that...
check out getServlet() in ServletContext. It was depreceated in 2.1
(causing much argument) but was the way that one used to be able to
call-off to other resources.
eg:
void doGet(req,resp)
{
Servlet
c=getServletContext().getServlet("com.mypack.ThingServlet");
c.service(req,resp);
}
or something like that.
>Also where can I find a copy of the 2.0 spec?
Tricky... Sun should really keep them available but it's not a major
problem as the existing API still has all the calls of version 1.0.
It's just that some are depreceated.
Nic
___________________________________________________________________________
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