This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
jesus sanchez
Greenhorn
Posts: 3
  • 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
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!