tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kotsiras, Alexandros" <>
Subject Problem with <%@ include Tomcat32b2 ? ?
Date Tue, 08 Aug 2000 14:23:12 GMT
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>Problem with &lt;%@ include Tomcat32b2 ? ?</TITLE>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; It seems that Tomcat32b2
will&nbsp; not let me include a file that is &quot;above&quot;&nbsp; in the
directory strucure !!</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; In other words when
i do &lt;%@ include file=&quot;../util.jsp&quot; %&gt; it gives me an error
: </FONT>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp; Cannot read file: \jsp\emplist\protected\..\util.jsp</FONT>

<P><FONT SIZE=2 FACE="Arial">&nbsp;</FONT>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp; Fortunatelly it works if a give
full path relative to the Context as :&nbsp; &quot; /jsp/emplist/util.jsp&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;</FONT>

<P><FONT SIZE=2 FACE="Arial">&nbsp; I was just wondering if that is in the
specs. I think that in Tomcat 3.1 i was able to include files residing higher in the Dir by
giving relative URL starting with&nbsp; ../</FONT></P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Alex.</FONT>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp; </FONT>

<P><FONT SIZE=2 FACE="Arial">±&#732;&#732;&#732;°</FONT>


View raw message