struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanl...@gmail.com
Subject Re: [S2] Result
Date Thu, 14 Aug 2008 16:35:28 GMT
Worked fine using dispatcher.forward(request, response);

On Thu, Aug 14, 2008 at 8:23 AM, <stanlick@gmail.com> 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
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message