I m new in Spring Framework.I want to cal a new window on click on link, but that page contains data retriving through database.How to do that?? and that data is retrived by controller having model and view method type.
You do eactly as you would do to open the page in the same window, except that the link should contain a target="_blank"
attribute:
<%-- define the URL of the link --%>
<c:url var="theUrl" value="/someAction">
<c:param name="someParamName" value="someParamValue">
</c:url>
<%-- generate the link --%>
<a href="${fn:escapeXml(theUrl)}" target="_blank">Click here</a>