A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Reading a string from textarea
thippareddy mallikarjuna reddy
Joined: Mar 08, 2006
May 31, 2006 03:59:00
I have written one
page. in this page i am usig textarea. user can enter more than one word by separating cama. after submitting the page. i need to get textarea words.
<textarea name="keywordName" cols="30" rows="2" ></textarea>
Joined: Jan 30, 2006
May 31, 2006 05:41:00
Sounds a little like part of an assignment so I'll try not to give too much away.
The text value entered in the TEXTAREA is passed as a parameter, with the request, with the name "keywordName"
Have a look at the ServletRequest API.
srinivasa v reddy
Joined: Mar 17, 2006
May 31, 2006 06:17:00
You can use request.getParameter("keywordName");
it will return the
of text area
Author and ninkuma
Joined: Jan 10, 2002
Jun 05, 2006 21:56:00
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Reading a string from textarea
Retrieve the text into textarea
important HTML tidbit
How to retain textbox value after refresh
Display a JSP include in a textarea
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015