I am trying to build a web page that will have multiple dynamic content
fed from multiple servlets. I thought I could just do something like:

<-- index.jsp -->

<c:import url="top.jsp"/>
<c:import url="/servlet1.do"/>
<c:import url="/servlet2.do"/>
<c:import url="bottom.jsp"/>

<-- end -->
What I would like to happen is have the struts servlet be run, and have
the resulting jsp page (defined in the <forward> section of my
struts-config.xml) be "imported" into that spot. This works just fine if
there is only one servlet being called, but fails if there are more. The
error is "Cannot forward after result has been committed".

What do I need to do? Do I need to look at something like tiles? Any help,
or references to some help would be great.

Thanks,

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to