Microsoft SDK for Java

ASP Java Component Framework Samples

The Active Server Pages (ASP) Java Component Framework simplifies creating Active Server components by creating new interfaces that expose the ASP object model. The goal is to retain all the features and flavor of the ASP programming model, but to expose it in a way that is more natural for the Java programmer. The classes use native Java types and support native Java interfaces.

The following ASP Java Component Framework samples are provided.

Sample Description
Accessing Built-in ASP Objects Location: \Samples\ASP

Technologies: ASP

Demonstrates:

  • Calling ASP objects directly without using the ASP Java Component Framework.
Forms and Cookies Location: \Samples\ASP

Technologies: ASP

Demonstrates:

  • Accessing form variables and cookies using the ASP Java Component Framework.
Server Variable Enumeration Location: \Samples\ASP

Technologies: ASP

Demonstrates:

  • Using the Framework to access HTTP server variables.
File Expiration Location: \Samples\ASP

Technologies: ASP

Demonstrates:

  • Using Java dates with ASP.

  • Setting the page cache expiration date.
HelloWorld Location: \Samples\ASP

Technologies: ASP

Demonstrates:

  • Creating a simple Java class.
Java and Tables Location: \Samples\ASP

Technologies: ASP, Windows, J/Direct

Demonstrates:

  • Creating an HTML table based on attributes set by the caller.
Binary Data Output Location: \Samples\ASP

Technologies: ASP

Demonstrates:

  • Using the framework to output binary data.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.