<%
String a="abc";
Srting b="xyz";
String c=a+"\n"+b;
%>
I want to display String c
in a HTML table like this:
<table>
<tr>
<td><%= c %></td>
</tr>
</table>
I want to get this:
--------
| abc |
| xyz |
--------
But I get this:
------------
| abc xyz |
------------
Is there anything I could do with the scriplet to acheive this?
xyz – Rey Rajesh Nov 06 '14 at 10:03
xyz.. How can I do it? – Rey Rajesh Nov 06 '14 at 10:04