Here's an issue I've been working with lately. I have a bunch of text in a database, and when I display it with
JSP, I want to interpret the hidden line break characters (\n, etc), as <br> tags. I have a handle on how to do it (StringTokenizer, String.indexOf()), etc., but I can't seem to search for the right sequence of characters. I thought it went like this .. line breaks on Unix were \n, line breaks on mac were \l, PC had \n\l. I guess this isn't working.
Can someone help me out?
Thanks a lot!
Steve