Reputation: 471
<%
out.print("<textarea name='test' id='test'value='"+uabout+"'></textarea>");
%>
is not working.is there a syntax error.
Upvotes: 5
Views: 39310
Reputation: 3726
You can use this code in scripting:
<textarea name='test' id='test'><%=uabout %> </textarea>
OR using JSTL
<textarea name='test' id='test'><c:out value="${uabout}" /> </textarea>
Also, there is no value attribute in textarea tag.
Upvotes: 13