scalatra/scalatra — Issue #161: mount method
Author: b0c1
Created: 2012-02-28 23:49:16+00:00
State: open

Mount method works well if you want to mount different servlets (and filters).
But if you want to register two generic servlet or filter (where the generic parameters is different) it's fail because the mount servlet (and filter) class name is same (the servlet context addServlet will return null if the servlet name already registered)

Solution: mount method with servlet/filter name.