|
I have following records (length 70char) in a DB: "remark line 1" "remark line 2" "remark line 3" "remark line 4: how about this" The db keeps 'remarks' line by line, length 70chars I want to display them in a JSP and process them without changing their layout. I can 'read' and 'display them using jsp/html textarea. The user can change the info but how do I send them back in same format? user alteration, html textarea now has: "remark line 4: how about this" "remark line 3" "remark line 2" "remark line 1" "user adds this line" "and adds this spaced...................line" I can receive this textarea into my servlet but I think the result will be 1 string. This string can be divided in 70-char fields but: how can I keep this info line by line? All opinions welcome.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.