C/C++
cppserv.txt
Associated article: Implementing C++ Servlet Containers
Tags: C/C++ JVM Languages
Published source code accompanying the article by John Hinke in which he shows how you can combine the performance benefits of C++ and the power of the Java servlet API to create robust web applications.
Implementing C++ Servlet Containers
by John Hinke
Listing One
class HelloWorld extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res) {
response.setContentType("text/plain");
try {
PrintWriter out = response.getWriter();
out.println(helloWorld("Hello C++"));
} catch(IOException ...


