Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
404
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Sep 8, 2011
1 parent ae397de commit ff3549b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@ public class WebSocketEchoServlet extends WebSocketServlet
@Override @Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
{ {
getServletContext().getNamedDispatcher("default").forward(req,resp); resp.sendError(404);
} }


public WebSocket doWebSocketConnect(HttpServletRequest request, String protocol) public WebSocket doWebSocketConnect(HttpServletRequest request, String protocol)
Expand Down

0 comments on commit ff3549b

Please sign in to comment.