Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ant jspc precompile problems  RSS feed

 
Manu Nellutla
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

thanks
Manu
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is dependent on which application server you are using. In weblogic we just weblogic.appc and this do the job.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As David points out this is server dependant. Typically though if you are precompiling the jsps, you won't also deploiy the uncompiled JSPs - Tomcat (in JBoss) for example will always compile JSPs it finds, regardless of whether there is an already compiled alternative.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!