response.write() (Method)

Write the string value passed as an argument to the outgoing HTML response stream.


JavaScript - 1.2
Netscape Enterprise Server - 3.0
JavaScript syntax:NESwrite()

This is a server-side method that is not to be confused with the method that belongs to the document object.

The write() method can be used to output values generated by any legal JavaScript. It is the only way that server-side JavaScript can generate any output and it should be used to generate HTML for insertion into the document.

You can get some quite interesting output if you are prepared to study and exploit the server-side environment.

See also:Document.write(), Document.writeln(), Netscape Enterprise Server