Did you change the interface? If so, have you stopped and re-started your
server?
-----Original Message-----
From: Ken Pullin
To: [EMAIL PROTECTED]
Sent: 11/19/99 10:16 AM
Subject: Bean Changes are not being seen by Servlet
Hi - when I add a method to my bean and try to call the method in my
servlet, I'm getting a java.lang.NoSuchMethodError. The code looks like
this:
HttpSession session = request.getSession(true);
com.Vital.VitalTest.FusionDataObject fd = null;
fd = (com.Vital.VitalTest.FusionDataObject)
session.getValue("fd");
if (fd == null)
{
fd = (com.Vital.VitalTest.FusionDataObject)
java.beans.Beans.instantiate
(getClass).getClassLoader(), "com.Vital.VitalTest.FusionDataObject");
}
session.putValue("fd", fd);
fd.setKEN("123");
The method setKen() was added to the bean. I've stopped and restarted
the
appserver(Websphere) and webserver(IIS 4.0), but the changes are just
not
being seen. I've also deleted the .class file completely off of the
server
and I'm not getting the ClassDefNotFound Error. So somehow the class is
still loaded in memory??? Any help would be greatly appreciated.
Thanks in
advance. Ken
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html