Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 71768 invoked by uid 500); 29 Mar 2001 00:41:45 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Delivered-To: moderator for ant-user@jakarta.apache.org Received: (qmail 76037 invoked from network); 28 Mar 2001 19:30:42 -0000 Message-ID: <4B8F134FAEEFD3119753009027DEA7972C35C0@MUCHA> From: Winston Wolff To: "'ant-user@jakarta.apache.org'" Subject: Relative includes for WLJSPC Date: Wed, 28 Mar 2001 21:30:46 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0B7BD.962912B0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0B7BD.962912B0 Content-Type: text/plain; charset="iso-8859-1" I've got some jsp pages which have <%@ include file="gen/b.inc" %> directives, and they do not work with WLJSPC. Has anybody had this problem? For example: myserver/build.xml myserver/public_html/a.jsp (include gen/b.jsp) myserver/public_html/gen/b.jsp (includes gen/c.jsp) myserver/public_html/gen/c.jsp In weblogic, this works. With Ant, it doesn't work. It seems to be a problem of the current directory when weblogic.jspc is invoked. The current directory stays "/myserver" and the jsp compiler tries to include myserver/public_html/b.jsp instead of myserver/public_html/gen/b.jsp which of course fails. I am using JDK1.1.8 EuropeLoan Bank Winston Wolff Tel: +32 (0)2 402.0123 Fax: +32 (0)2 402.0124 e-mail:winston.wolff@europeloan.com ------_=_NextPart_001_01C0B7BD.962912B0 Content-Type: text/html; charset="iso-8859-1"
I've got some jsp pages which have
    <%@ include file="gen/b.inc" %>
directives, and they do not work with WLJSPC.  Has anybody had this problem?  For example:
 
    myserver/build.xml
    myserver/public_html/a.jsp  (include gen/b.jsp)
    myserver/public_html/gen/b.jsp  (includes gen/c.jsp)
    myserver/public_html/gen/c.jsp
 
In weblogic, this works.  With Ant, it doesn't work.  It seems to be a problem of the current directory when weblogic.jspc is invoked.  The current directory stays "/myserver" and the jsp compiler tries to include
    myserver/public_html/b.jsp
instead of
    myserver/public_html/gen/b.jsp
which of course fails.
 
I am using JDK1.1.8
 
EuropeLoan Bank
Winston Wolff
Tel: +32 (0)2 402.0123
Fax: +32 (0)2 402.0124
e-mail:winston.wolff@europeloan.com
 
------_=_NextPart_001_01C0B7BD.962912B0--