Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "load a C++ library from a jsp..." Watch "load a C++ library from a jsp..." New topic

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

jesus sanchez

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
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!!!

Joined: Aug 28, 2001
Posts: 29
have u taken a look into the Java Native Interface. If not here u go...
I agree. Here's the link:
subject: load a C++ library from a jsp...
Similar Threads
other languages calling java commands
How to load a DLL bundled in a JAR ?
I have a dll that I wan to load in jsp
JNI and J2EE
JSP loading a dll