scott
Mar 20th, 2006, 01:12 PM
In a JSP page, I try to output a value:
<spring:bind path="displayList">
${status.value}
</spring:bind>
This works fine, except I have some blank space issue. The above displayList carry a value of concatenated string, such as:
aaa bbb ccc ddd
I want to reserve 2 blank spaces betwen aaa and bbb, while 4 blank spaces betwen ccc and ddd.
But when displayed, there is always only 1 blank space reserved. How can I realize the above, or how can I control how many space to reserve?
NOTE: I can NOT use the for the concatenated string aaa bbb ccc ddd is a string value set to the variable: displayList.
Thanks to help.
<spring:bind path="displayList">
${status.value}
</spring:bind>
This works fine, except I have some blank space issue. The above displayList carry a value of concatenated string, such as:
aaa bbb ccc ddd
I want to reserve 2 blank spaces betwen aaa and bbb, while 4 blank spaces betwen ccc and ddd.
But when displayed, there is always only 1 blank space reserved. How can I realize the above, or how can I control how many space to reserve?
NOTE: I can NOT use the for the concatenated string aaa bbb ccc ddd is a string value set to the variable: displayList.
Thanks to help.