Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Patrick Martz
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!