File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Problem with TEXTAREA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with TEXTAREA" Watch "Problem with TEXTAREA" New topic
Author

Problem with TEXTAREA

vikram nalagampalli
Ranch Hand

Joined: Oct 08, 2001
Posts: 91
hi all,
I am trying to retreive some information from database and trying to show it in the textbix and text area.
For the text box if i am using value='<%=jobTitle1%>' its working fine
<input type="text" name="jobTitle1" size="25" value='<%=jobTitle1%>'>

But if use the same with textarea, i am not able to see that information in my form
<textarea rows="3" name="jobDescription1" cols="41" value='<%=jobDescription1%>'></textarea>
can any one suggest if there is any other means to retreive this information with the text area.
Thanks
vik
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
There is no value parameter in a TextArea. Basic HTML... the text for a TextArea goes between the < textarea > < /textarea > tags!


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
vikram nalagampalli
Ranch Hand

Joined: Oct 08, 2001
Posts: 91
So how can i retreive information into textarea. IS there any other means to retreive information in text area.
In my case i am editing a form, In that case it makes sense, if we can retreive information already entered by the user.So that user will know where he needs to update.
So if u can help me with a solution on this, i would be thankful.
Thanks
vikram
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Uh... based on the previous post, I would assume that
<textarea rows="3" name="jobDescription1" cols="41">
<%=jobDescription1%>
</textarea>
would work...
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with TEXTAREA