You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Raible <ma...@yahoo.com> on 2001/09/05 22:24:31 UTC
jspc - Bad file argument to include
I am using jspc (bundled in iPlanet SP3 from Tomcat 3.2.1) and I am getting the
following error:
2001-09-05 10:20:33 - error-the file '\WEB-INF\pages\timesheetList.jsp'
generated the following parse exception: org.apa
che.jasper.compiler.CompileException:
e:\development\timetracker\build\WEB-INF\pages\timesheetList.jsp(156,3) Bad
file a
rgument to include
Which is caused by the following line:
<%@ include file="timesheetSearchForm.jsp" %>
And I found this has been logged as a bug at:
http://znutar.cortexity.com/BugRatViewer/ShowReport/418
Does anyone know of a "workaround?"
Thanks,
Matt
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
Re: jspc - Bad file argument to include
Posted by Luis Olivares <ol...@infosphere.com>.
You should not use the <%@ include file="aJspPage.jsp" %> scriptlet command.
I used to do the same a long time ago. The problem is that if you do changes
to the 'included' file ('aJspPage.jsp' in this case), such changes will not
be reflected by the pages including it until you made a change to the page
including it.
The way to go its using:
<jsp:include page="aJspPage.jsp" flush="true">
</jsp:include>
just as Ratnakar said.
Regards.
Luis Olivares.
Infosphere S.A. de C.V.
"Delivering the Power of Information"
-------------------------------------------------------------
(52)8-365-42-88 Ext. 107.
luis.olivares@infosphere.com
----- Original Message -----
From: "Ratnakar Palle" <rp...@cisco.com>
To: <st...@jakarta.apache.org>; <ma...@icsynergy.com>
Sent: Wednesday, September 05, 2001 3:30 PM
Subject: RE: jspc - Bad file argument to include
> Try using <jsp:include tag!!
>
> -----Original Message-----
> From: Matt Raible [mailto:matt_raible@yahoo.com]
> Sent: Wednesday, September 05, 2001 1:25 PM
> To: struts-user@jakarta.apache.org
> Subject: jspc - Bad file argument to include
>
>
> I am using jspc (bundled in iPlanet SP3 from Tomcat 3.2.1) and I am
getting
> the
> following error:
>
> 2001-09-05 10:20:33 - error-the file '\WEB-INF\pages\timesheetList.jsp'
> generated the following parse exception: org.apa
> che.jasper.compiler.CompileException:
> e:\development\timetracker\build\WEB-INF\pages\timesheetList.jsp(156,3)
Bad
> file a
> rgument to include
>
> Which is caused by the following line:
>
> <%@ include file="timesheetSearchForm.jsp" %>
>
> And I found this has been logged as a bug at:
>
> http://znutar.cortexity.com/BugRatViewer/ShowReport/418
>
> Does anyone know of a "workaround?"
>
> Thanks,
>
> Matt
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
RE: jspc - Bad file argument to include
Posted by Ratnakar Palle <rp...@cisco.com>.
Try using <jsp:include tag!!
-----Original Message-----
From: Matt Raible [mailto:matt_raible@yahoo.com]
Sent: Wednesday, September 05, 2001 1:25 PM
To: struts-user@jakarta.apache.org
Subject: jspc - Bad file argument to include
I am using jspc (bundled in iPlanet SP3 from Tomcat 3.2.1) and I am getting
the
following error:
2001-09-05 10:20:33 - error-the file '\WEB-INF\pages\timesheetList.jsp'
generated the following parse exception: org.apa
che.jasper.compiler.CompileException:
e:\development\timetracker\build\WEB-INF\pages\timesheetList.jsp(156,3) Bad
file a
rgument to include
Which is caused by the following line:
<%@ include file="timesheetSearchForm.jsp" %>
And I found this has been logged as a bug at:
http://znutar.cortexity.com/BugRatViewer/ShowReport/418
Does anyone know of a "workaround?"
Thanks,
Matt
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com