Browse Source

Spelling is hard.

msmith-techempower 10 years ago
parent
commit
ccf0b6fc69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Java/servlet/src/main/java/hello/FortunesServlet.java

+ 1 - 1
frameworks/Java/servlet/src/main/java/hello/FortunesServlet.java

@@ -31,7 +31,7 @@ public class FortunesServlet extends HttpServlet
       throws ServletException, IOException
   {
     // Set content type to JSON
-    res.setCharacterEncodring(UTF8);
+    res.setCharacterEncoding(UTF8);
     res.setContentType(CONTENT_TYPE_HTML_UTF8);
 
     final List<Fortune> fortunes = new ArrayList<>();