| Author |
How to store a TextArea field into Database
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Hello ,
In my JSP page there is a TextArea which accept upto 400 characters , please tell me how should a servlet receive this data and store it in database , and what should be the column in database . (i am using Oracle )
THanks in advance.
|
Save India From Corruption - Anna Hazare.
|
 |
Balu Sadhasivam
Ranch Hand
Joined: Jan 01, 2009
Posts: 874
|
|
The VARCHAR2 data type can be used as data type for the column. VARCHAR2 can store maximum up to 4000 bytes.
Use the same way as you would do to store a normal String
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
|
Thanks Balu
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56549
|
|
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.
For more information, please read this.
This post has been moved to a more appropriate forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: How to store a TextArea field into Database
|
|
|