This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 63208
    
  69

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?
 
jQuery in Action, 3rd edition