• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

precompilation of jsps using jspc

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am currently facing some problem regarding precompilation of jsps using jspc command on command prompt (not with ant jspc option).
The problem is that i am able to compile with the following command

jasper.bat jspc -webapp "C:\Program
Files\Apache Group\Tomcat 4.1\webapps\newtask" -d "D:\JSPCompiled"

But here in this folder "newtask" i have many jsps in which .tld and .inc files are included. So when the jspc compiler faces these includes it fails with following error.

2006-09-28 12:44:58 - ERROR-the file '\emxLoginDisplay.jsp' generated the follow
ing general exception: org.apache.jasper.JasperException: /emxLoginDisplay.jsp(1
0,0) File "common/emxNavigatorInclude.inc" not found
error:org.apache.jasper.JasperException: Error compiling \emxLoginDisplay.jsp
at org.apache.jasper.JspC.processFile(JspC.java:543)
at org.apache.jasper.JspC.execute(JspC.java:748)
at org.apache.jasper.JspC.main(JspC.java:770)


I feel that it is because the jspc compiler doesnt compile the jsps included files.
Its very urgent. Please help me out in this matter
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please read this.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic