tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugh J. L." <hughj...@yahoo.com>
Subject Bill: It seems new Tomcat33 reloading has a ClassLoader problem
Date Fri, 23 Aug 2002 05:25:22 GMT
Hi,

Thank you for your contribution to Tomcat and help on
me.

I wrote a simple class like below,

public class A implements java.io.Serializable {
    public void write() {
        System.out.println("can access" + this);
    }
}

and put the class file in WEB-INF/classes. Then I add
some lines into SessionExample.java.

Object o = session.getAttribute("test");
if (o == null) {
session.setAttribute("test", t);
            } else {
            	t =
(Hashtable)session.getAttribute("test");
            	((A)t.get("test")).write();
            }


--- Bill Barker <wbarker@wilshire.com> wrote:
> This should be fixed now.  If you could test the
> latest nightly, it would be
> a big help.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message