<strong>Class.forName() throws null exception in servlet</strong>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, May 20, 2002 08:15 PM

Hi, just wondering if anyone having this similar problem:



when i try to load a class using Class.forName() method inside a servlet, it throws null exception.



1) The exception thrown is neither ClassNotFoundException nor any other Error, it's "null" exception.



2) There's nothing wrong with the code, in fact, the same code has been testing in swing before, works perfectly.



3) I have include all necessary jars/classes into the path, even if i haven't, it should throw ClassNotFoundException instead, not "null" exception.

Re: <strong>Class.forName() throws null exception in servlet</strong>

Posted By:   gayathri_meenakshi  
Posted On:   Monday, May 20, 2002 09:19 PM

Hi,
Code sample will be helpful to debug the error.
Cheers,
Gaya.
About | Sitemap | Contact