This commit is contained in:
Redkale
2016-09-06 08:29:44 +08:00
parent 506f930320
commit e546ff74a5

View File

@@ -102,7 +102,7 @@ public final class HttpPrepareServlet extends PrepareServlet<String, HttpContext
WebServlet ws = servlet.getClass().getAnnotation(WebServlet.class); WebServlet ws = servlet.getClass().getAnnotation(WebServlet.class);
if (ws != null) { if (ws != null) {
mappings = ws.value(); mappings = ws.value();
if (!ws.repair()) prefix = "";//被设置为自动追加前缀则清空prefix if (!ws.repair()) prefix = "";//被设置为自动追加前缀则清空prefix
} }
} }
synchronized (allMapStrings) { synchronized (allMapStrings) {