Writes text output into the debug stream. This text is displayed to the end-user only if the tag contains the debug attribute (check for this attribute using the Request.debug method).
public void writeDebug(String output
)
Parameter |
Description |
---|---|
output |
The text to output |
The following example checks whether the debug attribute is present; if so, it writes a brief debug message:
if ( request.debug() ) { response.writeDebug( "debug info" ) ; }