Per the HTML spec (http://www.w3.org/TR/html4/interact/forms.html#h-17.7),
the textarea form element does not have an attribute called 'value'. To
initialize the form text area element, simply do this:
<textarea name="overview" wrap=virtual rows=3 cols=60><%=loverview
%></textarea>
-----Original Message-----
From: Carol Geng [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 8:47 AM
To: [EMAIL PROTECTED]
Subject: put the value to textarea field in jsp
All:
I can see the loverview variable, but it just can not show from the
textarea field.
anybody knows what's going on?
Thanks,
Carol
============================================================================
here is the code:
<% String loverview = (String) V.elementAt(i+13);
out.println ("the overview is: " + loverview);
%>
<tr bgcolor=#eeeecc><td colspan=2><font face="Arial, Helvetica,
sans-serif"><font size=-1><B>Overview:</B></font> </td>
</tr>
<tr><td colspan=2>
<textarea name="overview" wrap=virtual rows=3 cols=60 value="<%=
loverview %>"></textarea>
</td>
</tr>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets