Error Page

If you want to use a custom error page for 404-errors, you can create a parameter JEASE_SITE_ERROR via "System > Parameter" and specify a path to a content-object which should act as custom error-page.

Here's an example for an error-page based on a Script-object. Of course you can use a Text-object as well if you only want to return a static message:

<h1>
HTTP Status
<%=request.getAttribute("javax.servlet.error.status_code") %>
</h1>
<p>
The requested page 
(<%= request.getAttribute("javax.servlet.error.request_uri") %>)
is unavailable.
</p>
Last modified on 2011-03-21 by Maik Jablonski

Want to contribute?

2009-12-31

Do you want to contribute to Jease? Writing documentation is a good place to get started and will help to get people becoming more familiar with Jease. Any contribution is appreciated.