title: this keyword not working in servlet
body: <p>In the following servlet i want to add content type and character set encoding. </p>
  
  <pre><code>  public class FBOAuth extends HttpServlet {
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
       PrintWriter out = response.getWriter();
       this.response.setContentType("application/json");
       this.response.setCharacterEncoding("UTF-8");
  ...
  </code></pre>
  
  <p>I compile this servlet using following command.</p>
  
  <pre><code>$ javac -classpath json.jar FBOAuth.java
  </code></pre>
  
  <h2>ERROR</h2>
  
  <pre><code>FBOAuth.java:24: error: cannot find symbol
  this.response.setContentType("application/json");
      ^
  symbol: variable response
  FBOAuth.java:25: error: cannot find symbol
  this.response.setCharacterEncoding("UTF-8");
      ^
   symbol: variable response
   2 errors
  </code></pre>