BubikolRamios
02-24-2010, 05:38 PM
1.I type multiline (hiting enter) into html textarea.
2. save as it is, to MYSQL, there it becomes one single line
3. pick it up in java from database, there it looks ok, multiline, in debuger
4. send back to client , again one single line !?
tryed, before sending to client:
s = s.replaceAll("$","</BR>");
but looks it is realy one single line coz </BR> appears only at the end of s.
How to handle that ?
2. save as it is, to MYSQL, there it becomes one single line
3. pick it up in java from database, there it looks ok, multiline, in debuger
4. send back to client , again one single line !?
tryed, before sending to client:
s = s.replaceAll("$","</BR>");
but looks it is realy one single line coz </BR> appears only at the end of s.
How to handle that ?