<%@ page language="java" contentType="text/html;charset=UTF-8"%> in production mode: <%= org.apache.beehive.netui.pageflow.internal.AdapterManager.getServletContainerAdapter(pageContext.getServletContext()).isInProductionMode() %>

Production mode must be false when running our automated tests; many of them depend this to display dev-mode error pages and the like.