Think I may have figured it out myself. It looks like from the source code for jasper2 that it is poolingEnabled="false" and it should be passed to the jasper2 task.
Thanks, -Mark -----Original Message----- From: Faine, Mark Sent: Tuesday, April 12, 2005 1:17 PM To: 'Tomcat Users List' Subject: RE: include generated_web.xml into web.xml Thanks, But now I'm having another issue, how can I pass enablePooling="false" to the javac task? -Mark -----Original Message----- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 10:13 AM To: Tomcat Users List Subject: Re: include generated_web.xml into web.xml In tomcat5 add addWebXmlMappings='true' to your jasper2 task. In tomcat4 - you need a placeholder comment in the web.xml file. Then use ant to replace the contents. For example: <!-- Loaded your precompiled snippet into a property --> <loadfile property="precompiled" srcFile="${build.dir}/WEB-INF/precompiled.xml" encoding="ISO-8859-1"/> <!-- Now replace the xml with a predifined snippet --> <replace file="${build.dir}/WEB-INF/web.xml" value="${precompiled}"> <replacetoken><![CDATA[<!-- precompile include -->]]></replacetoken> </replace> -Tim Faine, Mark wrote: > I'd like to include my generated_web.xml file that was created by JSPC > into my applications web.xml file. How can this be accomplished? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]