jspinclude « Parameter « JSP-Servlet Q&A





1. java parameter in jsp:include    stackoverflow.com

I wanted to know if I can pass a java variable to a . I tried to do something like this inside a jsp file:

<% String folder = request.getParameter("something"); %>
<jsp:include page="../<%=folder%>/myframe.jsp" ...