• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I use C++ method in JSP?

 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Classmate has finished with C++ and offered me 5 C++ interface ,I should call the 5 C++ method in the JSP. But I never use Java or JSP working with C++, can anyone tell me how I can do, and pleaes show soemthing in detail.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's beyond the scope of JSP technology itself, so I've moved this to a more apppropriate forum.
 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody help me???
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to make a JNI wrapper around the C++ library and hope that
1) your application server allows you to use JNI and
2) the library is compiled for the same operating system and hardware architecture as you're running your application server on.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic