[opencms-dev] Jsp Template ErrorPages
Alexander Kandzior
alex at opencms.org
Thu Jun 5 15:07:01 CEST 2003
Actually, you just use it like
<%@ page errorPage="/sample/errorpage.jsp" %>
the /opencms/opencms/ is added by OpenCms later. Same with using <%@
include ... %> statements on a JSP.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Steele, Jeffrey
> Sent: Thursday, June 05, 2003 2:40 PM
> To: 'opencms-dev at opencms.org'
> Subject: RE: [opencms-dev] Jsp Template ErrorPages
>
>
>
>
> >
> > <%@ 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</cm
> s:link>" %>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list