diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 45ee8b1..3cbeffc 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -6,38 +6,6 @@ index.htm index.jsp - - AjaxServlet - net.socialgamer.cah.servlets.AjaxServlet - - - JavascriptConfigServlet - net.socialgamer.cah.servlets.JavascriptConfigServlet - - - LongPollServlet - net.socialgamer.cah.servlets.LongPollServlet - - - Schema - net.socialgamer.cah.servlets.Schema - - - AjaxServlet - /AjaxServlet - - - JavascriptConfigServlet - /js/cah.config.js - - - LongPollServlet - /LongPollServlet - - - Schema - /Schema - net.socialgamer.cah.StartupUtils diff --git a/src/net/socialgamer/cah/servlets/JavascriptConfigServlet.java b/src/net/socialgamer/cah/servlets/JavascriptConfigServlet.java index 7f0c592..2b37223 100644 --- a/src/net/socialgamer/cah/servlets/JavascriptConfigServlet.java +++ b/src/net/socialgamer/cah/servlets/JavascriptConfigServlet.java @@ -5,11 +5,13 @@ import java.io.PrintWriter; import javax.servlet.ServletConfig; import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +@WebServlet("/js/cah.config.js") public class JavascriptConfigServlet extends HttpServlet { private static final long serialVersionUID = 4287566906479434127L;