File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60049
    
  65

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?
 
Similar Threads
bang head error
call a simple methode...
class= operation
How do I call method of jsp from servlets?
JSP & SSL