[opencms-dev] Jsp Template ErrorPages

Steele, Jeffrey steelej at DCSC.GOV
Thu Jun 5 14:52:01 CEST 2003


>
> <%@ page session="false" %>
> <%@ page import="java.util.*" %>
> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
>
> <%@ page errorPage="/opencms/opencms/sample/errorpage.jsp" %>
>
> I get a blank page displayed rather than the specified error page.  I
> believe this is a referencing problem.  The errorpage cannot be located 
> from
> the template.

If I understand your question correctly, I believe you need to use the
<cms:link> tag such as:

<%@ page
errorPage="<cms:link>/opencms/opencms/sample/errorpage.jsp</cms:link>" %>




More information about the opencms-dev mailing list