File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jesus sanchez
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic