Skip to content

Commit

Permalink
url mapping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orelgenya committed Sep 15, 2015
1 parent 90efe3f commit 3d63ed0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class SimpleServletContextListener implements ServletContextListener {
public void contextInitialized(ServletContextEvent sce) {
System.out.println("Servlet context initialized: " + sce.getServletContext().getContextPath());
ServletRegistration.Dynamic registration = sce.getServletContext().addServlet("dynamic", DynamicServlet.class);
registration.addMapping("dynamic");
registration.addMapping("/dynamic");
}

@Override
Expand Down

0 comments on commit 3d63ed0

Please sign in to comment.