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

Attributename

Java type

Dynamic valueaccepted

Description

type
String

No

The type of debug information 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, Second 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.