I need to use dynamically generated file names in my <%@ include file="" %> directive.
I am using objects (such as database connection) in the included files which I created in my base JSP file. For this reason, I cannot use the jsp:include tag (since these objects are not defined in these files, the servlet doesn't compile).
Are there any ways of using these dynamic file names in this directive?
I am using objects (such as database connection) in the included files which I created in my base JSP file. For this reason, I cannot use the jsp:include tag (since these objects are not defined in these files, the servlet doesn't compile).
Are there any ways of using these dynamic file names in this directive?