There are a number of typos in your code, maybe some omitted code as well. Ignoring these, it seems that you have defined but not created either response nor request, so you will get NullPointerException when you attempt to use either of them.
Does your class have a constructor or a static initializer somewhere? The values in question are static, so probably shouldn't be initialized in the constructor without checking to see if they exist.
public static HttpServletResponse response = new HttpServletResponse();
public static HttpServletRequest request = new HttpServletRequest();
It is not clear to me why these are static. I wouldn't code them that way...