Worked fine using dispatcher.forward(request, response);

On Thu, Aug 14, 2008 at 8:23 AM, <[EMAIL PROTECTED]> wrote:

> I am trying to retrofit the Ajax JSP Tag Library server side *servlet *code
> to fit the S2 lifecycle.  I have a particular situation where my custom
> result works if I:
>
>          PrintWriter pw = response.getWriter();
>          pw.write(request.getParameter(blah, blah, blah);
>          pw.close();
>
> but does not when using :
>
>         RequestDispatcher dispatcher =
> request.getRequestDispatcher(getLocation());
>         dispatcher.include(request, response);
>
> Shouldn't the .include write to the response in much the same way?
>
> Peace,
> Scott
>
>
>

Reply via email to