GeeCON Prague 2014*
The moose likes Servlets and the fly likes Class loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Class loading" Watch "Class loading" New topic
Author

Class loading

Chandar Vel
Greenhorn

Joined: Nov 21, 2000
Posts: 22
Hello All
I have a utility class which has lot of static methods along with a static initialized. This static class is being used from the jsp.I changed the static class by changing the name of a method and recompiled it. Correspondingly, i changed the jsp to reflect the new method. Ironically, the jsp was giving reporting method not found all the time. I got rid of the static initializer and the display the static initializer is still getting printer. I tried stoping the server (Weblogic) and starting it back many times but still the old version is the one that is loaded.
Can any one help me whats happening and what i can do to correct this problem
Thanks a bunch
Chandar
Todd Bush
Greenhorn

Joined: Mar 06, 2000
Posts: 14
This is what I would try with JRun. Find the compiled corresponding .class file for that jsp and delete it. This should force Weblogic to recompile your .jsp.
 
GeeCON Prague 2014
 
subject: Class loading