aspose file tools*
The moose likes JDBC and the fly likes loading in Class.forName() a class from inside a jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "loading in Class.forName() a class from inside a jar file" Watch "loading in Class.forName() a class from inside a jar file" New topic
Author

loading in Class.forName() a class from inside a jar file

Patrick Martz
Greenhorn

Joined: Dec 12, 2009
Posts: 18
My applet is running from applet tags pointing inside an archive aka jar. The problem arises when i try to connect using driverManager the class.forName(entry) is automatically appended to the directory of the default.aspx page. i don't understand how its going from the inside the jar directly to a higher level url. I need the class.forName() to point it into the jar file in http://sharepoint/site/folder/ .jar file. so it can access the sqlserverdriver in it. Thanks for reading.Patrick.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loading in Class.forName() a class from inside a jar file