displaying stringbuffer not working, please help

I have the following code in the jsp file,

s1 is a StringBuffer containing multiple lines of text.

<TEXTAREA NAME="DESCRIPTION" ROWS=8 COLS=100 value =

<%

out.println(s1);

System.out.println("\nJust Printed line(s)\n" + s1);

%>

>

</TEXTAREA>

Output from "just printed lines .. is fine.

But, out.println(s1) does not print anything in the textarea.

thanks

babu

[471 byte] By [sasbab1] at [2007-9-26 2:52:00]
# 1
try thisout.println(s1.toString()) ;
Zerg2000 at 2007-6-29 10:39:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
What does the actual HTML source look like? Is the StringBuffer not getting printed out at all, or is it just not being displayed by the browser?Anne
dirkse at 2007-6-29 10:39:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I think your text is not displaying on Browser.if you want to display text of TextArea control it should be like this:<TEXTAREA><%out.println(s1)%></TEXTAREA>not the value tag as in TextBox for display.zakir
zakir_sh at 2007-6-29 10:39:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
> I think your text is not displaying on Browser.> if you want to display text of TextArea control it> should be like this:> > <TEXTAREA><%out.println(s1)%>works fine,thanks Zakir
sasbab1 at 2007-6-29 10:39:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...