Inserting the generated HTML or XHTML into the page

Generate After the server script has done all the setup, it calls the Generate function, which returns the generated HTML as a string.

In JSP, use out.print to insert code in the page template:

out.print( dwGen.Generate() );

In ASP, use Response.Write to insert the code in the page template:

Response.Write( dwGen.Generate() );

GenerateXHTML and GenerateXMLWeb In JSP targets, you return the Web DataWindow in XHTML with the GenerateXHTML command:

out.print( dwGen.GenerateXHTML() );

The GenerateXMLWeb method generates the content, layout, style, and client-side functionality of the DataWindow separately in XML, XSLT, CSS, and JS files. It returns the browser-specific XSLT transformation script that uses the generated files to render the DataWindow in XHTML on the client side:

out.print( dwGen.GenerateXMLWeb() );