Why does this simple example not work?
I am using Tomcat 3.3 and JDK 1.3.1_01 and Redhat Linux 7.2
Thanks,
==
// SimpleClass.java
// A Simple Class
public class SimpleClass extends Object{
private static String last_name;
private static String first_name;
private static
Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 3:50 PM
To: Tomcat Users List
Subject: Vectors? Why does this not work?
Why does this simple example not work?
I am using Tomcat 3.3 and JDK 1.3.1_01 and Redhat Linux 7.2
Thanks
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 3:49 PM
Subject: Vectors? Why does this not work?
Why does this simple example not work?
I am using Tomcat 3.3 and JDK 1.3.1_01 and Redhat Linux 7.2
Thanks,
==
// SimpleClass.java
// A Simple Class
Rick,
You are declaring the fields last_name, first_name, and middle_name as
static so there is only one instance of each of those for your SimpleClass (no
matter how many objects of type SimpleClass you create).
Ed
Rick Roberts wrote:
Why does this simple example not work?
I am using
First, you should take this question to another forum since this one
is about the Tomcat Servlet Container.
I'm actually building a bean for a Tomcat JSP app that I am working on.
I presented the code this way to simplify my description of the problem.
Second, you probably need to do some
On Thursday 10 January 2002 01:14 pm, you wrote:
Basically:
1. I'm an idiot.
2. And you quickly pointed that out.
3. I'm grateful.
Heheheheh.. don't be too hard on youself.. it wasn't all _that_ obvious.
:)
--
Darrell Esau
Software Engineer, Sun Microsystems
NetAdmin Development
--
To
At 03:49 PM 1/10/02 -0500, you wrote:
Why does this simple example not work?
I am using Tomcat 3.3 and JDK 1.3.1_01 and Redhat Linux 7.2
Thanks,
==
// SimpleClass.java
// A Simple Class
public class SimpleClass extends Object{
private static String last_name;
private static