aspose 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
 
Consider Paul's rocket mass heater.
 
subject: load a C++ library from a jsp...