A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
preserve line breaks from jtextarea when storing in database
Joined: Aug 11, 2011
Jul 08, 2012 12:24:37
how to preserve line breaks of jtextarea while storing and retrieving text from database(oracle)?
Joined: Oct 14, 2005
Jul 08, 2012 14:53:07
You just read the data from the
and store that String into the database. Why do you ask? Did you already try something which failed to preserve the line breaks? If so, let's have a look at your code and get it fixed up.
Don't get me started about those stupid
subject: preserve line breaks from jtextarea when storing in database
Retain buffer formatting
Preserve word wrap and line breaks
Searching for string usign JSTL
Display problem in JFrame
How to handle ENTER key event in JTextArea
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015