I dont know whether this is the correct forum for this question.
I bulid a string in my application and display that on browser using JSP.
i have string "text1,text2,text3". i want display it as text1, text2, text3.
I have build the string as "text1,"+"<br>"+"text2,"+"<br>"+"text3".
When i display this using, <bean: write name="name1" property="prop1"/> it comes as it is without applying the line breaks. text1,<br>text2,<br>text3. How can i achieve the line breaks from the string.