displaying StringBuffer in textArea field of a jsp file

hiI am trying to display a StringBuffer field in a textArea.It does not display anything.If I do system.out.println, I can see the values corectly,it is a multiline string.Any suggestions will be very helpful for me, thanks so much.babu
[299 byte] By [sasbab1] at [2007-9-26 1:42:35]
# 1

[code]

<%

StringBuffer sb = new StringBuffer("this is a test");

%>

<html>

<body>

<textarea rows="10" cols="20" >

<%= sb.toString() %>

</textarea>

</body>

</html>

[code]

mbarsic at 2007-6-29 2:35:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Need more info with your code , what mbarsic have written should work
sribk at 2007-6-29 2:35:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
<%StringBuffer sb = new StringBuffer("this is a test");%><html><body><TEXTAREA NAME = "testBuffer" COLS="80" ROWS="08" wrap><%= sb.toString() %></textarea></body></html>
sribk at 2007-6-29 2:35:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...