Hi !
try
out.write("<textarea name=textarea1 cols=20 rows=15 >" + results +
"</textarea)");

Gautam
----- Original Message -----
From: Tom John <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 1999 4:22 PM
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

Reply via email to