oops!!! silly me cheers guys, problem solved,
petros -----Original Message----- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 1:44 PM To: [EMAIL PROTECTED] Subject: Re: dynamic value for page attribute Hey Petros, I've had this mistakes many times before :-P lol. Its a silly thing. Ur using quotes(") to mark your parameters. This, however, causes a problem cause ur parameter name of "file" is also surrounded by quotes. To make this example work. Replace one set of double quotes with single quotes. So use: <jsp:include page='<%= request.getParameter("file") %>' flush='true' /> -Tim -----Original Message----- From: Petros Lafazanidis [[EMAIL PROTECTED]] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 6:02 AM To: [EMAIL PROTECTED] Subject: dynamic value for page attribute hi, how can i set the value of the page attribute on a jsp:include action? i tried the following piece of code but it doesnt seem to work. tomcat returns a "attribute file has no value" message. <jsp:include page="<%= request.getParameter("file") %>" flush="true" /> thanx petros =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
