Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call DLL file signed applet

 
Aparna Sree
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to call a DLL from JSP.

I have used signed applet for achieving this. I deployed the jar file in Tomcat and I placed the DLL in Tomcat/share/lib set the "path" accordingly.

I have my System.loadLibrary("mydll"); which loads the dll.

Everything works fine as a standalone application. But when I deploy it and try to access it from another machine, I am unable to access the DLL.
java.lang.UnsatisfiedLinkError

Probably the reason is, I have the path set in my local machine and have the DLL in my local drive. Other machines cannot access dll in my tomcat/share/lib.

Is there a way out? Where should I place my DLL so that I can access my DLL from other client machines as well?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic