Lets say I have a
jsp file like the following:
<table cellspacing="0" width="100%" cellpadding="0" border="0">
<tr>
<td valign="top" width="80%">
<jsp:include page="<%= next_page %>" flush="true" />
</td>
</tr>
<tr>
<td valign="top" >
<jsp:include page="<%= another_page %>" flush="true" />
</td>
</tr>
</table>
************************************
This works fine if both of the pages are jsp pages. However in my situation the last include will be jsp not actually in a public web folder. Instead it will be on the same computer but I have a
servlet that will display the page. The servlet works fine alone, but tryng to use it in the include gives me:
Exception: java.lang.IllegalStateException: setting buffer after writing to the writer.............
And so on and so forth. Is there any hope for this?