Is it possible for a custom tag to generate content that is JSP code instead of html?
I am writing a custom tag where the output needs to be a line similar to the following: <%@ include file="myfile.jsp" %> I can't include this line in the body of my tag because the file name is produced by the doStartTag method. Obviously if my doStartTag method includes the line out.println("<%@ include file="myfile.jsp" %>"); This line is never processed, it is included as it is in the final html file. Is there something I can do to get the line processed? The only way round this problem I can think of is to return the name of the file to the JSP using a TEI class and then put my include line after the tag, but it would be much neater if I could get the tag to do this. Thanks, Catharine =========================================================================== 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