JSP: Passing a Variable to an Included File.


In JSP there are three ways of including other jsp/html/css pages.

<%@include file="page/index.jsp"%> 

<jsp:include page="page/index.jsp"> </jsp:include>

<% String page = "page/"; %>
<% pageContext.include(page+"index.jsp"); %>



POSTED BY juong

Popular Posts

.

Back to Top