Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WAMs allow you to serve stream files that:

  • You don't want to store it on your Web server.
  • Documents whose contents are stored in your application database.
  • Documents created on demand.

You can serve the contents of LOB data types (BLOBs and CLOBs) and stream files located in your Application Server with special web routines.

You create these file serving web routines by defining the Response parameter in the Webroutine command:

Image Modified

The webroutine can contain RDMLX code to create the contents of the file or determine which file to send. 

The only requirement is that you set the ContentFile to the file name that you want to serve.
You can also send the contents of a string. In this case, you need to set the content type. The charset is assumed to be the current encoding. If that is not the case, you need to set the Charset property.

Image Modified


See Also

...