Versions Compared

Key

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

[ Image Removed |../../index.htm#lansa/wamengb3_0060.htm]
You are here:

...

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 webroutinesweb routines.

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

Image Added

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 Removed

Image Added


See Also

...

...