如何在servlet中输出js代码?

如何在servlet中输出js代码?
PrintWriter out = response.getWriter();out.println(""); 为什么在servlet中无法输出!?
这么写试试谈绝派

out.println("