This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Call DLL file signed applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Call DLL file signed applet" Watch "Call DLL file signed applet" New topic
Author

Call DLL file signed applet

Aparna Sree
Greenhorn

Joined: Jul 21, 2010
Posts: 28
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call DLL file signed applet
 
Similar Threads
placing jar files in tomcat
Calling applet in a browser
JNI (msvc dll) access problem
JAXM Applet Problem
Copy dlls and lic files from server path to local system 32 dir in Applet init()