Full Stack Trace:#

2002-11-20 14:23:04 ApplicationDispatcher[/CowgarWiki] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Tag failed, check logs: null
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.include(Unknown Source)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(Unknown Source)
        at org.apache.jasper.runtime.PageContextImpl.include(Unknown Source)
        at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:68)
        at org.apache.jsp.Search_jsp._jspService(Search_jsp.java:116)
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)
----- Root Cause -----
javax.servlet.ServletException: Tag failed, check logs: null
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown Source)
        at org.apache.jsp.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:254)
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.include(Unknown Source)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(Unknown Source)
        at org.apache.jasper.runtime.PageContextImpl.include(Unknown Source)
        at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:68)
        at org.apache.jsp.Search_jsp._jspService(Search_jsp.java:116)
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)

ViewTemplate.jsp#

<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<HTML>

<HEAD>
  <TITLE><wiki:Variable var="applicationname" />: <wiki:PageName /></TITLE>
  <%@ include file="cssinclude.js" %>
  <wiki:RSSLink />
</HEAD>

<BODY">

<TABLE border="0" width="100%" cellspacing="0">
  <TR class="TITLE">
    <TD colspan="2"><FONT size="5"><B><wiki:Variable var="applicationname" />: <wiki:PageName /></FONT></TD>
  </TR>
  <TR class="TITLE">
    <TD class="TITLE">
      <FONT color="#cc6633"><I><B>A Family Ran Site</B></I></FONT>
    </TD>
    <TD align="RIGHT">
      <A class="TITLE" href="http://cowgar.com/CowgarWiki/Wiki.jsp?page=Main">Main</A> |
      <A class="TITLE" href="http://cowgar.com/CowgarWiki/Wiki.jsp?page=About">About</A> |
      <A class="TITLE" href="http://cowgar.com/CowgarWiki/Wiki.jsp?page=News">News</A> |
      <A class="TITLE" href="http://cowgar.com/CowgarWiki/Wiki.jsp?page=RecentChanges">Recent Changes</A> |
      <A class="TITLE" href="http://cowgar.com/CowgarWiki/Wiki.jsp?page=PageIndex">Page Index</A> |
      <A class="TITLE" href="http://cowgar.com/CowgarWiki/Search.jsp">Find Pages</A>
    </TD>
  </TR>
  <TR>
    <TD colspan="2" bgcolor="#cacaca"> </TD>
  </TR>
</TABLE>

<TABLE border="0" width="100%" cellspacing="1" cellpadding="5" bgcolor="#aaaaaa">
  <TR bgcolor="#cacaca">
    <TD CLASS="leftmenu" WIDTH="2%" VALIGN="BOTTOM" NOWRAP="true">
       
    </TD>

    <TD CLASS="PAGE" WIDTH="98%" VALIGN="top">
      <wiki:CheckRequestContext context="view">
         <wiki:Include page="PageContent.jsp" />
      </wiki:CheckRequestContext>

      <wiki:CheckRequestContext context="diff">
         <wiki:Include page="DiffContent.jsp" />
      </wiki:CheckRequestContext>

      <wiki:CheckRequestContext context="info">
         <wiki:Include page="InfoContent.jsp" />
      </wiki:CheckRequestContext>

      <wiki:CheckRequestContext context="preview">
         <wiki:Include page="PreviewContent.jsp" />
      </wiki:CheckRequestContext>

      <wiki:CheckRequestContext context="conflict">
         <wiki:Include page="ConflictContent.jsp" />
      </wiki:CheckRequestContext>

      <wiki:CheckRequestContext context="find">
         <wiki:Include page="FindContent.jsp" />
      </wiki:CheckRequestContext>

      <wiki:CheckRequestContext context="prefs">
         <wiki:Include page="PreferencesContent.jsp" />
      </wiki:CheckRequestContext>

    </TD>
  </TR>

  <TR bgcolor="#cacaca">
    <TD colspan="2">
      <FONT size="-1">
        <wiki:Permission permission="edit">
          <wiki:EditLink>Edit this page</wiki:EditLink>  
        </wiki:Permission>
        <wiki:PageInfoLink>More info...</wiki:PageInfoLink>  
        <wiki:InsertPage page="LeftMenuFooter" />
        <wiki:NoSuchPage page="LeftMenuFooter">
          <HR>
          <P>
            <P ALIGN="center">
              <I>No LeftMenuFooter!</I><BR>
              <wiki:EditLink page="LeftMenuFooter">Please make one.</wiki:EditLink><BR>
          </P>
          <P>
          <HR>
        </wiki:NoSuchPage>

        <wiki:CheckVersion mode="latest">
          <div align="right">
            <I>This page last changed on <wiki:DiffLink version="latest" newVersion="previous"><wiki:PageDate/></wiki:DiffLink> by <wiki:Author />.</I>
          </div>
        </wiki:CheckVersion>

        <wiki:CheckVersion mode="notlatest">
          <BR>
          <I>This particular version was published on <wiki:PageDate/> by <wiki:Author /></I>.
        </wiki:CheckVersion>

        <wiki:NoSuchPage>
          <BR>
          <I>Page not created yet.</I>
        </wiki:NoSuchPage>
      </FONT>
    </TD>
  </TR>
</TABLE>

</BODY>
</HTML>

Again, the Stack Trace occurs when I access ~Search.jsp (with or without results). My ~Search.jsp winds up being blank. No search form, nothing but the title and footer provided by the ViewTemplate.jsp file.

Thanks,

--JeremyC


What does the log look like, if you enable all debugging stuff?

--JanneJalkanen


I'm not certian I know what you mean. In the jspwiki.properties file, DEBUG is enabled and here is the contents of /tmp/jspwiki.log from the point that I hit the link.

2002-11-20 16:19:10,684 [Thread-6] INFO JSPWiki CowgarWiki:FindPage - Request for page 'FindPage' from 192.168.0.100 by null
2002-11-20 16:19:10,841 [Thread-6] DEBUG com.ecyrd.jspwiki.tags.WikiTagBase CowgarWiki:FindPage CowgarWiki: Search - Inserting page WikiPage [LeftMenuFooter,ver=4,mod=Wed Nov 20 12:27:54 EST 2002]
2002-11-20 16:19:10,841 [Thread-6] DEBUG com.ecyrd.jspwiki.providers.CachingProvider CowgarWiki:FindPage CowgarWiki: Search - Page LeftMenuFooter found in cache.
2002-11-20 16:19:10,843 [Thread-6] DEBUG com.ecyrd.jspwiki.plugin.ReferringPagesPlugin CowgarWiki:FindPage CowgarWiki: Search - Fetching referring pages for FindPage with a max of 10
2002-11-20 16:19:11,011 [Thread-6] ERROR com.ecyrd.jspwiki.tags.WikiTagBase CowgarWiki:FindPage CowgarWiki: Search - Tag failed
java.lang.NullPointerException
        at com.ecyrd.jspwiki.tags.DiffLinkTag.doWikiStartTag(DiffLinkTag.java:102)
        at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:61)
        at org.apache.jsp.ViewTemplate_jsp._jspx_meth_wiki_DiffLink_0(ViewTemplate_jsp.java:883)
        at org.apache.jsp.ViewTemplate_jsp._jspx_meth_wiki_CheckVersion_0(ViewTemplate_jsp.java:855)
        at org.apache.jsp.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:237)
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.include(Unknown Source)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(Unknown Source)
        at org.apache.jasper.runtime.PageContextImpl.include(Unknown Source)
        at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:68)
        at org.apache.jsp.Search_jsp._jspService(Search_jsp.java:116)
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)
2002-11-20 16:19:11,033 [Thread-6] FATAL com.ecyrd.jspwiki.tags.WikiTagBase CowgarWiki:FindPage CowgarWiki: Search - Including failed
org.apache.jasper.JasperException: Tag failed, check logs: null
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(Unknown Source)
        at org.apache.catalina.core.ApplicationDispatcher.include(Unknown Source)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(Unknown Source)
        at org.apache.jasper.runtime.PageContextImpl.include(Unknown Source)
        at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:68)
        at org.apache.jsp.Search_jsp._jspService(Search_jsp.java:116)
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
        at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)

Is that what you mean?

--JeremyC


Yes, exactly. This made it quite easy to pinpoint the problem, thanks!

The problem is that tag "DiffLink" fails, simply because it cannot find the "Search" page from the page repository. Of course, DiffLink should be smart enough to fail gracefully, if such a thing happens (and this is a genuine bug), but the problem stems from the fact that you have put the DiffLink directly on the ViewTemplate. In the default template we provide, the page footer which contains the edit link etc, has been put inside the "PageContent.jsp" template page - and that stuff is never included when you call "Search.jsp".

I have fixed the DiffLink failing in the CVS version (1.9.39), but it might be a good habit to put all of your footer data inside a <wiki:PageExists> ... </wiki:PageExists> block.

--JanneJalkanen


I am not following what I need to do on my end to correct my problem. You mentioned DiffLink, but from what I can see, I have included it in ViewTemplate.jsp in the same manner that it was included in the default template file, ViewTemplate.jsp

Can you elaborate a little to help me out?

--JeremyC


Yeah, the default template has the DiffLink and other stuff inside PageContent.jsp; you have it in ViewTemplate.jsp.

ViewTemplate.jsp is always loaded, but PageContent.jsp is only displayed when you actually are viewing a wiki page. FindPage aka ~Search.jsp is not a wiki page; it is a JSP page, and thus DiffLink cannot find it when it is called.

Does this help?

--JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-19) was last changed on 04-Feb-2007 09:49 by JanneJalkanen