I'm building a string in a for loop and would like to have a new line separator in my string. At this point I have the following:
strT50 += paramKey+" - "+strPercent+"; \n";
I also tried <br> instead of \n.
In both cases, the output in a webpage doesn't show as a new line.
Can someone please tell me how to format a string in jsp so that it containes new lines when needed?
Thanks in advance.
strT50 += paramKey+" - "+strPercent+"; \n";
I also tried <br> instead of \n.
In both cases, the output in a webpage doesn't show as a new line.
Can someone please tell me how to format a string in jsp so that it containes new lines when needed?
Thanks in advance.