If I write some scriplets to generate a
string with newlines and then place teh result in a textarea I get a satisifactory result (that is the values are all on newlines in the text area). When aI do the same thing with a c:set tags I get a 'single ' line in the textarea with the newline displayed literally.
displayed in textarea using scriptlet
book(1)
book(2)
book(3)
using <c:set ..>
book(1)\nbook(2)\nbook(3)
Now I assume it something very straight forward but I'm unsure of why there are the two different results ?
I have also used <c:set var="bookStr" value="${bookStr}\n" /> with the same result.