Posted By:
Bob_Jett
Posted On:
Wednesday, July 25, 2001 02:24 PM
I need to understand how to use . My environment is NT 4.0, TomCat3.1.1, jdk1.3 and jsdk2.1 After creating a bean "Greeting" I placed it in /WEB-INF/classes. The code is at the end of this note. The bean is supposed to return a "hello". How do I refer to Greeting.getGreeting() to get the value "hello", using I'm getting dizzy from looking at the examples on the web and in books. Thanks the code follows: import java.io.*; import java.util.*; public class Greeting { public String greeting; public Greeting() { greeting = new String("Hello"); }
More>>
I need to understand how to use
.
My environment is NT 4.0, TomCat3.1.1, jdk1.3 and jsdk2.1
After creating a bean "Greeting" I placed it in /WEB-INF/classes. The code is at the end of this note.
The bean is supposed to return a "hello".
How do I refer to Greeting.getGreeting() to get the value "hello", using
I'm getting dizzy from looking at the examples on the web and in books.
Thanks the code follows:
import java.io.*;
import java.util.*;
public class Greeting
{
public String greeting;
public Greeting()
{
greeting = new String("Hello");
}
public String getGreeting()
{
return (greeting);
}
}