package wasdev.sample.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!");
    }

}

@@ -268,16 +268,50 @@
 esponse;
+%0Aimport wasdev.sample.functions.*;
 %0A%0A/**%0A *
@@ -731,16 +731,57 @@
 ption %7B%0A
+        Message message = new Message();%0A
         
@@ -865,16 +865,41 @@
 lo World
+ %22+message.getMessage()+%22
 !%22);%0A   

Update SimpleServlet.java