Hi,
i am trying to precompile JSPs using <jspc> task. But the compiled jsps do not have *$jsp.java format (just has *.java). When i try to use my precompiled files in localhost/_ it still compiles the JSP pages.
Can you please tell me how i can compile the JSP in a particular directory structure to do exactly what JSPER does?
Also..
However all the generated files are at the root level ( no subdirectories)
<jspc destDir="${tomcat.home}/webapps/hst/javasrc/precompiledjsp"
srcdir="${app.home}/java/htdocs"
uriroot="${app.home}/java/htdocs"
uribase="."
verbose="2"
compiler="jasper"
classpathref="jspc.classpath">
<nclude name="**/*.jsp"/>
</jspc>
filesets are not allowed with JSPC. can you please tell me a way to compile all the jsps(including subdirectories)to an outpur directory (maintaining the same directory structure as the source?
thanks manu
i am trying to precompile JSPs using <jspc> task. But the compiled jsps do not have *$jsp.java format (just has *.java). When i try to use my precompiled files in localhost/_ it still compiles the JSP pages.
Can you please tell me how i can compile the JSP in a particular directory structure to do exactly what JSPER does?
Also..
However all the generated files are at the root level ( no subdirectories)
<jspc destDir="${tomcat.home}/webapps/hst/javasrc/precompiledjsp"
srcdir="${app.home}/java/htdocs"
uriroot="${app.home}/java/htdocs"
uribase="."
verbose="2"
compiler="jasper"
classpathref="jspc.classpath">
<nclude name="**/*.jsp"/>
</jspc>
filesets are not allowed with JSPC. can you please tell me a way to compile all the jsps(including subdirectories)to an outpur directory (maintaining the same directory structure as the source?
thanks manu