I have a jsp "template" view in which I am including content from several other jsp's. The content from the other jsp's is being included into a <div>
in the template file.
Inside the included jsp's I want to have a hyperlink called "popup" (or whatever). When this link is clicked, then the content of this included jsp is "popped out" of the template jsp and opened into its own window.
e.g.:
template.jsp:
<body>
<div>
//include jsp-1.jsp
</div>
<div>
//include jsp-2.jsp
</div>
</body>
jsp-1.jsp:
<p>
...
<a href="">Pop out</a> //Clicking this will open a new window
//containing only the contents of jsp-1.jsp
</p>