The ASP samples that demonstrate test components for the ASP Java Component Framework are shown in the following table.
Accessing Built in ASP Objects | Demonstrates how a Java class directly calls ASP objects. |
Binary Data Output | Demonstrates how to use the framework to output binary data. |
File Expiration | Demonstrates how Java dates can now be used with ASP, in this case to set the page cache expiration date. |
Forms and Cookies | Shows how a Java class accesses form variables, cookies, and so on with the Java ASP Component Framework. |
HelloWorld | Displays a simple Java class. |
Java and Tables | Demonstrates how to stream out an HTML table based on attributes set by the caller. |
Server Variable Enumeration | Demonstrates how to use the framework to access HTTP server variables. |
The following instructions apply to all ASP samples.
To run the samples
Important To run these samples, you must have a Web browser that supports ASP (such as Microsoft® Internet Explorer 4.0 or later).
Note If you are working in Microsoft® Visual J++®, you must install the new Java compiler from the Microsoft SDK for Java. This means copying jvc.exe, jps.dll, and msjvc.dll from the SDK's installation into your DevStudio\SharedIDE\bin directory. You must also set the destination for the project (Project/Properties/Compile/Output Directory) to the %WINDIR%\java\trustlib directory.
To uninstall the samples
Delete the *.class files from your %WINDIR%\java\trustlib\IISSample directory.