After setting <%@page trimDirectiveWhitespaces="true"%>
, all the whitespace is stripped, even the space between ${a} ${b}
.
How can I produce some whitespace in my JSP? Like the space between ${a} ${b}
?
==EDIT==
I know why the spaces are stripped, and I know that the official 'solution' is to "wrap the desired spaces in <jsp:text>
", but that impacts readability of my code. Would like to know if there is a more concise solution.