Wrap the <pre>
tag around the value. It preserves white space.
<s:iterator value="ccActivityOperationVO.output" var="Output">
<pre><s:property value="#Output"/></pre><br/>
</s:iterator>
Add following style in the HTML head
<style type='text/css'> pre {display: inline;} </style>