Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ant <jspc> problem

Status
Not open for further replies.

mnellutla

Vendor
Nov 26, 2003
15
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top