Hi,
I have been trying to use the include directive to include files dynamically
i.e. without hard-coding the path of the file.
I have tried:
<% String myFile = request.getParameter("strFileName"); %>
<%@ include file="<%=myFile%>" %>
and many different combinations of it but all of them fail to compile. I can
not use the include action i.e. <%jsp:include page="<%=myFile%>" /> because
it just includes the source as it without processing the file.
Is there anyway of dynamically including the files in jsp1.0??? BTW, in case
it matters, I am using JRUN.
Thanks. I would really appreciate any help.
KM
Software Engineer
PeopleSoft Corp.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets