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 ]
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook