package bookshelf.servlet;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by Davenkin on 10/4/14.
 */
public class HelloWorldJspServlet extends HttpServlet {

    public void doGet(HttpServletequest request,
                      HttpServletResponse response)
            throws ServletException, IOException {
        request.setAttribute("hello", "Hello World!");
        RequestDispatcher dispatcher = request.getRequestDispatcher("WEB-INF/jsp/HelloWorld.jsp");
        dispatcher.forward(request, response);
    }
}

@@ -394,16 +394,17 @@
 pServlet
+R
 equest r

revert try travis