DhModule.write

Overview | Methods | This Package | All Packages

DhModule.write

Writes the specified HTML string to the current site.

Syntax

public void write( String strHTML )

public void write( DhElement element )

public void write( Throwable exception, boolean stackTrace )

Parameters

strHTML

The HTML string to write.

element

The element to write.

exception

The exception or error to write.

stackTrace

Set to true to write the stack trace; otherwise, set to false. If stackTrace is specified, the stack trace is also written.

Remarks

If running in server mode, the string or element is written to the output stream; otherwise, it is added to the end of the current document body.