Ziarkowski, You may want to try adding the following to your web.xml <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.jspf</url-pattern> </servlet-mapping>
- Jim -----Original Message----- From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 10:23 PM To: Tomcat Users List Subject: JSP fragments file extension and the jasper2 ant task Hi all! The J2EE 1.4 tutorial says: "The recommended file extension for the source file of a JSP page is |.jsp|. The page can be composed of a top file that includes other files that contain either a complete JSP page or a fragment of a JSP page. The recommended extension for the source file of a fragment of a JSP page is |.jspf|." My project is growing and it would be nice for me to use this difference in extension to easier separate top files from fragment files. I precompile my jsp files using the tomcat deployer, but it won't compile my fragment files if i give them the .jspf extension, and change my jsp:include to reflect this change. Is there a way to make the jasper2 task also include these files? I haven't found any docs on the jasper2 task anywhere. A hint to find these would be appreciated. Regards Trond Ziarkowski ************************************************************************ The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ ************************************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]