File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes load a C++ library from a jsp... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "load a C++ library from a jsp..." Watch "load a C++ library from a jsp..." New topic
Author

load a C++ library from a jsp...

jesus sanchez
Greenhorn

Joined: Sep 14, 2001
Posts: 3
Hello, im trying to load a dll from a jsp, i have do it from a servlet but i dont know what must i do in a jsp page
when i try
static{
System.loadLibrary("criptograf");
}
the jsp compiler returns:
java.lang.IllegalAccessError: try to access class CriptograficaDllN from
class _p7manage__jsp
the CriptografDllN does the call to the dll
Help me please!!!
i cant sleep!!!
PC RE
Greenhorn

Joined: Aug 28, 2001
Posts: 29
have u taken a look into the Java Native Interface. If not here u go...
http://java.sun.com/docs/books/tutorial/native1.1/concepts/index.html
-PC RE
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load a C++ library from a jsp...
 
Similar Threads
other languages calling java commands
JSP loading a dll
JNI and J2EE
How to load a DLL bundled in a JAR ?
I have a dll that I wan to load in jsp