When I write this to browser from servlet, the output will be printed in the same line but I am expecting in two lines (in text form not HTML form which can be achived using <br/>).
If I use System.out.println(s) , it prints as I am expecting.
I have tried the following things but no gain!
Also I have noticed one thing that . I am using JRE6 WINDOWS 7 and ECLIPSE
is this the problem?