----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
for jsdk 2.0:
getServletConfig()
.getServletContext()
.getServlet( servletName )
.service( request, response ) ;
-----Original Message-----
From: Fernando Salazar [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 05, 2000 3:44 PM
To: Java Apache Users
Subject: RE: RequestDispatcher
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> damn 2.0.......Yeah thanks, i'm using 2.0 so how are you guys forwarding
> servletrequests without sending responseredirect header to the
> browser ( ie
> allowing you to pass and object as an attribute of the response object)
>
One way that I have done it, is (in outline):
- Use GNU-JSP
- In my servlet create an instance of gnujsp servlet.
- Where I wish to simulate a RequestDispatcher.forward(), call
the gnujsp service() method to process the .jsp I want.
I don't have that code around anymore, or I'd tell you more details.
I do recall I had to do some hacks to the gnujsp classes to make it all
work.
- Fernando
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]