wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with TEXTAREA" Watch "Problem with TEXTAREA" New topic

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.
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.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Uh... based on the previous post, I would assume that
<textarea rows="3" name="jobDescription1" cols="41">
would work...
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
Similar Threads
problem with text area tabspace
Text area problem!
Saffari browser does not support the html content on textarea
Saffari does not support html content on textarea
Passing cent symbol from jsp to servlet -- Problem