> > > Actually the file to be included is > different in each case i get it from database and want to embedd > in the jsp > > How can i change the relative url every time ..
use <jps:include page="<%=thepage%>" flush="true"> You can set thepage using a previous SQL query. The included file cannot set headers or cookies anyway (or youŽll get a request exception) It will be include the file at runtime. Javitxu =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com