Mega Code Archive

 
Categories / Java Tutorial / JSTL
 

Import Page with Parameter Passing

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <html> <body> <c:import url="header.jsp">   <c:param name="title" value="Welcome to Page 1"/> </c:import> <h4>Page 1 information</h4> We're pleased to introduce <b>Page 1</b>, our newest, most cost-effective product. </body> </html> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <table width="100%">   <tr>     <td align="left" bgcolor="#888888">       <big><font color="#FFFFFF">         <c:out value="${param.title}"/>       </font></big>     </td>     <td align="right">       <small>         Import example application       </small>     </td>   </tr> </table> <hr />