This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class loading