Jigsaw with tomcat - jsp:include problem

"Durgadatt R. Kamath" <[email protected]> Thu, 30 Jan 2003 23:50:47 -0500 (EST)
Newsgroups gmane.comp.web.jigsaw
Message-ID <[email protected]>



This is a multi-part message in MIME format.

------_=_NextPart_001_01C2C8E4.45285220
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi all,
=20
I have setup tomcat 4.1.18 with Jigsaw 2.2.2 and java 1.4.0_03, for use =
with JSPs on red hat linux 8...
=20
Here is a simple jsp page with a simple jsp:include...All Iam attempting =
is to add a footer to the JSP page...
=20
.......
<jsp:include page=3D"common/footer.jsp" flush=3D"true">
......
=20
=20
Iam getting the following error when I run this page...
=20
org.apache.jasper.JasperException at =
org.apache.servlet.JspServletWrapper.service(JspServletWrapper.java:248) =
at =
org.apache.jasper.servlet.JspServlet.service.JspFile(JspServlet.java:295)=
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at =
javax.servlet.httpServlet.service(HttpServlet.java:83) at =
org.w3c.servlet.ServletWrapper$ServletRunner.run(ServletWrapper.java:542)=
 at org.w3c.util.CachedThread.run(ThreadCache.java:87)
=20
Pls. note the following -=20
1. if the jsp:include is commented, the jsp works fine...So my settings, =
in general, seem fine...
2. the JSPs used in the include are shown as indexed in the JigAdmin =
UI...
3. the jsp file being included is a FileResource with =
ServletWrapperFrame...
=20
Any idea what the problem is? for one thing I noticed in Jigsaw =
documentation for linking with tomcat JSP engine, that the tomcat =
version mentioned is Tomcat 3.2.3, while I am using 4.1.18...
=20
Any workarounds for this problem? or should I have to downgrade to =
tomcat 3.2.3 for this to work? or is there something else I am missing?

regards
Durgadatt R Kamath

=20

------_=_NextPart_001_01C2C8E4.45285220
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 5.50.4727.700" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>hi=20
all,</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>I =
have setup=20
tomcat 4.1.18&nbsp;with Jigsaw 2.2.2 and java 1.4.0_03, for use with =
JSPs on red=20
hat linux 8...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>Here =
is a simple=20
jsp page with a simple jsp:include...All Iam attempting is to add a =
footer to=20
the JSP page...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003>.......</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN =
class=3D776192904-31012003>&lt;jsp:include=20
page=3D"common/footer.jsp" flush=3D"true"&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003>......</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>Iam =
getting the=20
following error when I run this page...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003>org.apache.jasper.JasperException at=20
org.apache.servlet.JspServletWrapper.service(JspServletWrapper.java:248) =
at=20
org.apache.jasper.servlet.JspServlet.service.JspFile(JspServlet.java:295)=
 at=20
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at=20
javax.servlet.httpServlet.service(HttpServlet.java:83) at=20
org.w3c.servlet.ServletWrapper$ServletRunner.run(ServletWrapper.java:542)=
 at=20
org.w3c.util.CachedThread.run(ThreadCache.java:87)</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>Pls. =
note the=20
following - </SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>1. =
if the=20
jsp:include is commented, the jsp works fine...So my settings, in =
general, seem=20
fine...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>2. =
the JSPs used=20
in the include are shown as indexed in the JigAdmin =
UI...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>3. =
the jsp file=20
being included is a FileResource with =
ServletWrapperFrame...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>Any =
idea what the=20
problem is? for one thing I noticed in Jigsaw documentation for linking =
with=20
tomcat JSP engine, that the tomcat version mentioned is Tomcat 3.2.3, =
while I am=20
using 4.1.18...</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN=20
class=3D776192904-31012003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><SPAN class=3D776192904-31012003>Any =
workarounds=20
for this problem? or should I have to downgrade to tomcat 3.2.3 for this =
to=20
work? or is there something else I am missing?</SPAN></FONT></DIV>
<P><B><FONT face=3DVerdana color=3D#000080 =
size=3D2>regards</FONT></B><BR><B><FONT=20
face=3DVerdana color=3D#000080 size=3D2>Durgadatt R =
Kamath</FONT></B></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C2C8E4.45285220--