HelloWorld Sample

This sample is located in \Samples\ASP.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample implements one class, HelloWorld, which provides one method, sayHello, that simply returns the familiar "Hello, World!" string to the caller. Because the component itself is not trying to send the text to the client browser, it is not necessary to gain access to the built-in ASP objects.

Using the Sample

See Using the ASP Samples for instructions on installing, running, and uninstalling this sample.

Key Project Files

HelloWorld.java

The main method of this class simply returns the string "Hello World!".

HelloWorld_test.asp

This file calls a method of a Java component from ASP.

Technologies Demonstrated

ASP

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