> I'd like to simply return some text from a Action w/o redirecting to a
> page. I did this sort of thing in Struts1 by using the response's
> PrintWriter and returning null from the Action's execute method.

You can do it exactly the way you did in Struts 1 (or mostly anyway).
If you implement ServletResponseAware you'll have access to the
HttpServletResponse and if you return null from the action the system
won't forward you anywhere.  I have several AJAX Actions that do
exactly this.
  (*Chris*)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to