R
Roxy
I have a problem with precompilation. I succeeded in able to
precompile my jsp, and compile them as .class. Append the generated
webXMLFragment to web.xml. I can create war file and tomcat is able to
serve my request from browser (both IE & Firefox).
But now when I make change to my jsp place it directly on my Tomcat
(6.0) version. I don’t see my updated jsp getting recompilted by
Tomcat. I am still seeing old jsp content on my browser. No matter how
much I try to refresh my browser cache, I don’t see tomcat compiling
updated jsp.
I don’t know if iam missing something or it is a bug. Please help.
<java classname="org.apache.jasper.JspC" fork="true"
failonerror="false">
<arg line="-d ${dir.jspc.gensrc} -v -s -l
-uriroot ${build}/${src}
-webinc ${jspc.webxml.fragment}
-webapp ${build}/${src}"/>
<classpath>
<fileset dir="${classpath}" includes="ant.jar"/>
<fileset dir="${ant.home}/lib" includes="*.jar"/>
<fileset dir="${tomcat.home}/lib" includes="*.jar"/>
<fileset dir="${tomcat.home}/bin" includes="*.jar"/>
</classpath>
</java>
<javac debuglevel="lines,vars,source" srcdir="${build}/${src}/WEB-INF/
src" destdir="${build}/src/${classes}" classpath="${classpath}"
fork="true" failonerror="true">
<classpath>
<fileset dir="${classpath}" includes="*.jar"/>
<fileset dir="${tomcat.home}/lib" includes="*.jar"/>
</classpath>
<exclude name="**/common/galleryThumbnail_jsp.java" />
<exclude name="**/common/gallerybuilderfooter_jsp.java" />
</javac>
precompile my jsp, and compile them as .class. Append the generated
webXMLFragment to web.xml. I can create war file and tomcat is able to
serve my request from browser (both IE & Firefox).
But now when I make change to my jsp place it directly on my Tomcat
(6.0) version. I don’t see my updated jsp getting recompilted by
Tomcat. I am still seeing old jsp content on my browser. No matter how
much I try to refresh my browser cache, I don’t see tomcat compiling
updated jsp.
I don’t know if iam missing something or it is a bug. Please help.
<java classname="org.apache.jasper.JspC" fork="true"
failonerror="false">
<arg line="-d ${dir.jspc.gensrc} -v -s -l
-uriroot ${build}/${src}
-webinc ${jspc.webxml.fragment}
-webapp ${build}/${src}"/>
<classpath>
<fileset dir="${classpath}" includes="ant.jar"/>
<fileset dir="${ant.home}/lib" includes="*.jar"/>
<fileset dir="${tomcat.home}/lib" includes="*.jar"/>
<fileset dir="${tomcat.home}/bin" includes="*.jar"/>
</classpath>
</java>
<javac debuglevel="lines,vars,source" srcdir="${build}/${src}/WEB-INF/
src" destdir="${build}/src/${classes}" classpath="${classpath}"
fork="true" failonerror="true">
<classpath>
<fileset dir="${classpath}" includes="*.jar"/>
<fileset dir="${tomcat.home}/lib" includes="*.jar"/>
</classpath>
<exclude name="**/common/galleryThumbnail_jsp.java" />
<exclude name="**/common/gallerybuilderfooter_jsp.java" />
</javac>