my dog learned polymorphism*
The moose likes Java in General and the fly likes How can I use C++ method in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How can I use C++ method in JSP?" Watch "How can I use C++ method in JSP?" New topic
Author

How can I use C++ method in JSP?

Kidd He
Ranch Hand

Joined: Sep 17, 2006
Posts: 65
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.


SCJP1.4 93%<br />SCWCD��
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61090
    
  66

That's beyond the scope of JSP technology itself, so I've moved this to a more apppropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kidd He
Ranch Hand

Joined: Sep 17, 2006
Posts: 65
Can anybody help me???
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
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.


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I use C++ method in JSP?