jsp include variable directory
843840Mar 15 2010 — edited Mar 15 2010Hi i am developing a web application and i want to include variable jsp file into another jsp file.My example looks like this:
<%
session.setAttribute( "lang", "tr");
String myFile="lang/"+session.getAttribute("lang").toString()+"/lang_index.jsp";
%>
<%@include file={myFile}%>
is there any way to do this?thanks for advance...