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 a return type of "xslt" w/o
the stylesheetLocation parameter would have done the trick, but I'm
getting a "javax.xml.transform.TransformerException: Operation not
supported. - [unknown location]" exception.
If I was to use the plaintext resulttype and uses the
HttpServletResponse's PrintWriter to write out my text, I suppose I
could also setContentType on the response. Just seems like I'm going
about this the wrong way.
Could someone please help me out?
Thanks!
-- john
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]