<%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ page import="org.apache.beehive.netui.pageflow.internal.InternalUtils"%> Production Mode Test

Production Mode Test

<% boolean sa = InternalUtils.getServerAdapter().isInProductionMode(); pageContext.setAttribute("prodMode",new Boolean(sa)); %>

Dev Mode: ${!pageScope.prodMode}
Production Mode: ${pageScope.prodMode}