Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2014-07-11 00:16:24 -0400
committerJan Bartel2014-07-11 00:16:24 -0400
commit644eccab8b600665a611b33be136025ba3aafde6 (patch)
tree55157a0da6a2719e3445e1bc7a415f00bd518183 /jetty-servlet
parentc674c410031fdcc19aea67e9375f9ecfae1b4f67 (diff)
downloadorg.eclipse.jetty.project-644eccab8b600665a611b33be136025ba3aafde6.tar.gz
org.eclipse.jetty.project-644eccab8b600665a611b33be136025ba3aafde6.tar.xz
org.eclipse.jetty.project-644eccab8b600665a611b33be136025ba3aafde6.zip
439387 Ensure empty servlet-class never generated for quickstart
Diffstat (limited to 'jetty-servlet')
-rw-r--r--jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
index d180e46fda..2ed3b50285 100644
--- a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
+++ b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
@@ -849,18 +849,6 @@ public class ServletHandler extends ScopedHandler
{
try
{
- /* if (servlet.getClassName() == null && servlet.getForcedPath() != null)
- {
- ServletHolder forced_holder = _servletPathMap.match(servlet.getForcedPath());
- if (forced_holder == null || forced_holder.getClassName() == null)
- {
- mx.add(new IllegalStateException("No forced path servlet for " + servlet.getForcedPath()));
- continue;
- }
- System.err.println("ServletHandler setting forced path classname to "+forced_holder.getClassName()+ " for "+servlet.getForcedPath());
- servlet.setClassName(forced_holder.getClassName());
- }*/
-
servlet.start();
servlet.initialize();
}

Back to the top