File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Invoking a servlet from a C++ program 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 » Servlets
Bookmark "Invoking a servlet from a C++ program" Watch "Invoking a servlet from a C++ program" New topic

Invoking a servlet from a C++ program

Bala Ramachandran

Joined: Aug 20, 2001
Posts: 12
I have a Cognos based application that needs to invoke a servlet for authentication. The Cognos Access Manager has a C++ method. I need to invoke the authentication servlet from inside this method. Since it is enterprise security mechanism, I don't have much choice about the security authentication. The servlet is a blackbox to the applications.
Is there a way I can invoke this servlet from inside the C++ method either by simulating a HTTP client or socket ?
Thank You
mathew Jackson

Joined: Jun 15, 2001
Posts: 12
Try cURL or libcURL
I agree. Here's the link:
subject: Invoking a servlet from a C++ program
Similar Threads
how to access cognos data cubes using j2ee
Very basic problem-where should the action method will be in?
invoking JAAS from EJB
How to servlet invoked secured EJB in JBOSS
Calling a backing bean method with no user input