Weblogic sometimes has trouble parsing relative paths. Are you using
Weblogic 6.0? It might be fixed in SP2. I do this <%@ include
file="/include/toppage.inc" %> and it works. Try /inc/imports.jsp.

> -----Original Message-----
> From: Jonathan Asbell [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 01, 2001 8:31 PM
> To: [EMAIL PROTECTED]
> Subject: *TED* Re: I am finding that templates are SLOW
>
>
> the Exception
>
> javax.servlet.jsp.JspException: JSP compilation of /inc/template2.jsp
> failed: weblogic.utils.ParsingException: nested TokenStreamException:
> antlr.TokenStreamExc
> eption: Could not include inc/imports.jsp
>         at
> org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag
> .java:149)
>         at jsp_servlet._logon._jspService(_logon.java:160)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :213)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :246)
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(W
> ebAppServletCo
> ntext.java:1265)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe
> questImpl.java
> :1622)
>         at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>
> the page "logon.jsp"
>
> <%@ include file="inc/imports.jsp" %>
> <template:insert template='/inc/template2.jsp'>
>  <template:put name='title' content='Logon to Success Meetings'
> direct='true'/>
>  <template:put name='logon_form' content='/inc/logon_form.jsp'/>
> </template:insert>
>
>
>
> the template "my_template.jsp"
>
> <%@ include file="inc/imports.jsp" %>
> <html:html locale="true">
>     <BODY>
>         <template:get name='logon_form'/>
>         .....................
>     </BODY>
> </html:html>
>
>
>
> Common include "imports.jsp"
>
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
> ----- Original Message -----
> From: "Ted Husted" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 01, 2001 5:10 PM
> Subject: Re: I am finding that templates are SLOW
>
>
> > Template pages can take longer to compile, since there is
> more to do,
> > but should run fine after that.
> >
> > I've used complex templates extensively with other
> containers and have
> > no runtime performance problems.
> >
> > -- Ted Husted, Husted dot Com, Fairport NY USA.
> > -- Custom Software ~ Technical Services.
> > -- Tel 716 737-3463.
> > -- http://www.husted.com/about/struts/
> >
> > > Jonathan wrote:
> > >
> > > I am using weblogic 6 on w2k.  I clicked on a templated page and
> > > MAN.....I wait atleast 1 minute for the results.  Is this known?
> >
>

Reply via email to