This sample demonstrates how the Java Component Framework's methods can be used to quickly gain access to the ASP built-in objects. In this example, the framework's AspContext.getResponse method is used to get a pointer to the Response class interface. This interface can then be used to set various expiration properties of the response that will be sent back to the client browser.
This sample is provided for educational purposes only. It has not been tested in a production environment, and Microsoft® will not provide technical support for it.
This project is available in the ...\iissamples\sdk\components\java\Samples subdirectory of the Internet services directory.