trying to call an action in a jsp page to return some html on http response stream, but it doesn't seem to like it. i am using the itext library's html writer.
i have an action-mapping where /ledger.do maps to Ledger.class which is an action.
<jsp:include page="/ledger.do" />
ServletOutputStream out = response.getOutputStream();
the problem is that the http headers have already been sent so...
is there any way to write html back to the response stream?
I don't mind changing class type to httpservlet.