Name

<ora:debug>

Synopsis

The <ora:debug> action writes debug information to the response, the console or the application log, depending on the value of the debug request parameter: resp, stdout, or log, or a combination of these values.

Syntax

<ora:debug type="debugInfoType" />

Attributes

Attribute name

Java type

Dynamic value accepted

Description

type
String

Yes

The type of debug info to write, one of requestInfo, headers, cookies, params, pageScope, requestScope, sessionScope, or applicationScope.

Example

<%-- 
  Write all request information and parameters and page scope 
  Variables.
--%>
<ora:debug type="requestInfo" />
<ora:debug type="params" />
<ora:debug type="pageScope" />

Get JavaServer Pages, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.