This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes precompilation of jsps using jspc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "precompilation of jsps using jspc" Watch "precompilation of jsps using jspc" New topic
Author

precompilation of jsps using jspc

Makarandp Parab
Greenhorn

Joined: Sep 26, 2006
Posts: 6
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
errorrg.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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60074
    
  65

Please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: precompilation of jsps using jspc
 
Similar Threads
outofmemory error while compiling jsps using weblogic.jspc
Problems making a jspc task work correclty with 1.5.4
Precompilation of jsps using jspc command
Jsp precompile with Ant and NullPointerException
weblogic.jspc thru command line(not thru ANT)