jspc - Bad file argument to include

2001-09-05 Thread Matt Raible

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

2001-09-05 Thread Luis Olivares

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.
[EMAIL PROTECTED]


- Original Message -
From: Ratnakar Palle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
 Sent: Wednesday, September 05, 2001 1:25 PM
 To: [EMAIL PROTECTED]
 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