<%& '/site/header/' %>

Error Handling

In this example we'll using a scriptlet that purposely causes an exception to be thrown (we're calling a non-existent function) in order for you to see Prudence's detailed debug page.

Of course, you can and should disable the debug page for production deployments.


<% if (conversation.request.method == 'POST') { abcdefg() } else { %>

<% } %> <%& '/site/footer/' %>