package net.mybluemix.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class SimpleServlet
 */
@WebServlet("/SimpleServlet")
public class SimpleServlet extends HttpServlet {
    private static final long serialVersionUID = 1L;

    /**
     * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
     */
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.setContentType("text/html");
        response.getWriter().print("Hello World!");
    }

}

@@ -755,49 +755,484 @@
     
-response.getWriter()
+String fullMessage = %22Hello World from Gearoid!%5Cn%22;%0A        System.out.println(fullMessage);%0A        Enumeration headerNames = request.getHeaderNames();%0A%09%09while (headerNames.hasMoreElements()) %7B%0A%09%09%09String key = (String) headerNames.nextElement();%0A%09%09%09String value = request.getHeader(key);%0A%09%09%09fullMessage += %22Header Key: %22 + key + %22, Header Value: %22 + value;%0A%09%09%09System.out
 .print
+ln
 (%22He
-llo World!%22
+ader Key: %22 + key + %22, Header Value: %22 + value);%0A%09%09%7D%0A%09%09response.getWriter().print(fullMessage
 );%0A 

Update SimpleServlet.java