Jsp:include vs c:import tags

less than 1 minute read


<P><FONT SIZE=2 FACE=”Arial”>JSP</FONT> </P> <P><FONT SIZE=2 FACE=”Arial”><jsp:include page="./menu.jsp" >        </FONT>
<FONT SIZE=2 FACE=”Arial”>  </FONT> <FONT COLOR=”#008080” SIZE=2 FACE=”Courier New”><</FONT><FONT COLOR=”#3F7F7F” SIZE=2 FACE=”Courier New”>jsp:param</FONT> <FONT COLOR=”#7F007F” SIZE=2 FACE=”Courier New”>name</FONT><FONT COLOR=”#000000” SIZE=2 FACE=”Courier New”>=</FONT><FONT COLOR=”#2A00FF” SIZE=2 FACE=”Courier New”>"menu"</FONT> <FONT COLOR=”#7F007F” SIZE=2 FACE=”Courier New”>value</FONT><FONT COLOR=”#000000” SIZE=2 FACE=”Courier New”>=</FONT><FONT SIZE=2 FACE=”Courier New”>"</FONT><FONT COLOR=”#BF5F3F” SIZE=2 FACE=”Courier New”><%=</FONT><FONT COLOR=”#000000” SIZE=2 FACE=”Courier New”>Constants.Web.Menu.ASSESSMENT_ADMIN</FONT><FONT COLOR=”#BF5F3F” SIZE=2 FACE=”Courier New”>%></FONT><FONT SIZE=2 FACE=”Courier New”>"</FONT><FONT COLOR=”#008080” SIZE=2 FACE=”Courier New”>/></FONT>
<FONT SIZE=2 FACE=”Arial”></jsp:include></FONT> </P> <P><FONT SIZE=2 FACE=”Arial”>JSTL</FONT> </P> <P><FONT SIZE=2 FACE=”Arial”><c:import url="./menu.jsp"></FONT>
<FONT SIZE=2 FACE=”Arial”>     <c:param name="menu" value="${menu.ASSESSMENT_ADMIN}"/></FONT>
<FONT SIZE=2 FACE=”Arial”></c:import></FONT> </P>

Categories:

Updated:

Leave a Comment