String result=resultset.getString("myvalue");
out.println("<textarea name=textarea1 cols=20 rows=15 >" + result1 +
"</textarea>" );
This will do it.
Badri..
> -----Original Message-----
> From: Tom John [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, December 08, 1999 4:23 PM
> To: [EMAIL PROTECTED]
> Subject: Text area PROBLEM!!!!!!!!!!!!!
>
> Hi,
>
> How can we assign a value taken by a database to a text area. The
> following
> code does not work, value is not assigned to the textarea.
> What's wrong
>
>
>
>
> ..
> ..
> String result=resultset.getString("myvalue");
> out.println("<textarea name=textarea1 value="+result+"cols=20 rows=15 >");
> ..
> ..
>
> TOM
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html