I gues this is HTML question.
in jsp I got this code
which I see in debuger that it contains "<br />something<br />", as it should.Code:<%=sessionGalery.comments[i].split("~~")%>
What actualy appears on HTML(that is jsp) page is: "<br>something<br>".
Any idea why is that ?