How to call multiple JSPs from one servlet?
<p>I have a Screen with 4 sections: Parm, Header, Detail and Footer. </p>

<p>This will be the workflow of the Screen: A user will input some data in Parm section of screen and click on Display button. Then the Header, Detail and Footer sections of the screen needs to be refreshed based on the selection in Parm section of screen.</p>

<p>So I have a JSP <strong>Frm.jsp</strong> which has 4 JSPs inside it (<strong>Parm.jsp</strong>, <strong>Header.jsp</strong>, <strong>Detail.jsp</strong>, <strong>Footer.jsp</strong>).</p>

<pre><code>&lt;body&gt;
&lt;iframe src="Parm.jsp" name="parmFrame"&gt;&lt;/iframe&gt;
&lt;iframe src="Header.jsp" name="headerFrame"&gt;&lt;/iframe&gt;
&lt;iframe src="Detail.jsp" name="detailFrame"&gt;&lt;/iframe&gt;
&lt;iframe src="Footer.jsp" name="footerFrame"&gt;&lt;/iframe&gt;
&lt;/body&gt;
</code></pre>

<p><strong>Parm.jsp</strong> has a form with some input controls and has a button "Display" which on clicks submit the form to a Servlet <strong>ScreenServlet</strong>. </p>

<pre><code>&lt;form name="parmForm" action="ScreenServlet" method="POST"&gt;
&lt;input type="text" name="criteria1"&gt;
&lt;input type="text" name="criteria2"&gt;
&lt;input type="hidden" name="section" value="parm"&gt;
&lt;input type="submit" value="Display"&gt;
&lt;/form&gt;
</code></pre>

<p>So the Servlet receive 1 request from Parm.jsp. Based on that request I can retrieve data for the 3 JSPs in that Servlet. But how can I call the other 3 JSPs (<strong>Header.jsp</strong>, <strong>Detail.jsp</strong>, <strong>Footer.jsp</strong>) from the Servlet? Confused. </p>