Thanks for your answer Ulf, neither do I.
i try your code and nothing happen!
I'm not understand why the "\n" doesn´t works.
Ok i'll give you more info. i'm trying to generate a plain file and send it as response from an action this is how im try to do that:
the
getLayout method returns the
string that will be the report.
and the
getIs method returns the info as bytes for response to the client (FYI
Struts 2 framework).
if i display the response in a browser it works fine.
thanks for your help
P.d this is the right forum right?