aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Invoking a servlet from a C++ program" Watch "Invoking a servlet from a C++ program" New topic
Author

Invoking a servlet from a C++ program

Bala Ramachandran
Greenhorn

Joined: Aug 20, 2001
Posts: 12
Hi,
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
Bala.
mathew Jackson
Greenhorn

Joined: Jun 15, 2001
Posts: 12
Try cURL or libcURL
http://curl.haxx.se/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking a servlet from a C++ program