posted 16 years ago
Hello All,
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.
From the documentation, I'd expected that either the resulttype of "plaintext" or "xslt" w/o the stylesheetLocation parameter would have done the trick, but I'm getting nothing at all back in the former case and a "javax.xml.transform.TransformerException: Operation not supported. - [unknown location]" exception in the latter.
I'm sure I'm missing something basic - could someone please help me out?
Thanks!
-- john