but can I call Class.forName() for same class more than once exmple class.forName("Test") class.forName("Test") even If i can do this i donot want to load the class once it is already loaded so how can I find if the class is already loaded ? Miro Neil Aggarwal <[EMAIL PROTECTED]> wrote: Miro:
You can call Class.forName() as many times as you like without a problem. Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. -----Original Message----- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 8:45 AM To: user@struts.apache.org Subject: [JAVA] using clas.forname() How can I know whether a class is already loaded ? or if I call class.forname("Some class name") twice will there be any problems ? Thanks Miro --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel.