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

JSP precompile error  RSS feed

 
Paul Bourdeaux
Ranch Hand
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running into a problem when precompiling jsp pages that use <%@ include ... > and relative paths.

This is the error I get:

The include directive that is causing the problem is:
<%@ include file="../../shared/intro-hdr.inc" %>

If I change it toa uri that is relative to the application root, such as:
<%@ include file="/shared/intro-hdr.inc" %>
it works just fine. No problem with any future applications. The problem in that we already support several applications with several hundred jsp pages that use the first format. Manually changing all of them would take many, many man hours... Plus they have been precompiled before without error. We have no idea what is different now.

We are using apache's jasper jspc tool.

Any suggestions?
[ August 16, 2005: Message edited by: Paul Bourdeaux ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since the japser compiler is Tomcat specific, I'm going to move this over to the Tomcat forum where it will get more exposure to the Tomcat-savvy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!