Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

Precompilation of jsps using jspc command

 
Monish Das
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question in more than one forum.
This is called cross-posting and is considered to be extremely rude.
It wastes the time of the people who are trying help you.
 
    Bookmark Topic Watch Topic
  • New Topic