When you say the spec says you can't use dynamic variables to specify includes, I'm assuming you're referring to the <%@ include page="myFile.jsp" %> directive? The <jsp:include> tag does allow you to do this. You can use an expression inside this tag to dynamically specify an included file name. For example: <jsp:include page="<%= myFile %>"/> HTH, Patrick Quinn Allaire Consulting [EMAIL PROTECTED] -----Original Message----- From: B Schlank [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 13, 2000 3:17 AM To: JRun-Talk Subject: Using dynamic content Hi! I am porting over some CF applications to JSP and I am running into some problems with dynamic includes. I have a calendar app for a bunch of clients. Each client's calendar has a different header and footer, which can be quite extensive. To reduce database overhead, this was stored in flat files. In CF, I could do this: <cfinclude template="/calendar_html/calender_#CLIENTNAME#.html"> But the JSP spec says that I can't do this -- unless I am reading it wrong. Any comments? Thanks in advance. -- brett ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
