This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Reading a string from textarea

 
thippareddy mallikarjuna reddy
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi pals,

I have written one JSP 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.

sample code:
<textarea name="keywordName" cols="30" rows="2" ></textarea>

Thanks&Regards
 
Ed Ward
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi
You can use request.getParameter("keywordName");
it will return the string of text area

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic