"Cannot find symbol" on servletContext().getRequestDispatcher
<pre><code>protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
    response.setContentType("text/html;charset=UTF-8");

    HttpSession sesion = request.getSession();
    PrintWriter out = response.getWriter();

    String num = request.getParameter("num");
    String password = request.getParameter("password");
    sesion.setAttribute("num", num);

    Queries sql = new Queries();
    if (sql.login(num, password)) {
        response.sendRedirect("private.jsp");
    } else {
        request.setAttribute("error", "Error on login");
        RequestDispatcher dispatcher = 
        ServletContext().getRequestDispatcher("login.jsp"); // This line doesn't working
        dispatcher.forward(request, response);
    }

}
</code></pre>

<p>I have a error with <code>servletContext()</code>. According Netbeans <em>Cannot find symbol</em>. I want to redirect to <em>login.jsp</em> with a parameter.</p>