Browse Source

smart-servlet bugfix (#6317)

* update smart-servlet to 0.1.3-SNAPSHOT

* update aio-enhance to 1.0.3-SNAPSHOT

* smart-servlet bugfix
三刀 4 years ago
parent
commit
96bfbd7998

+ 1 - 1
frameworks/Java/smart-socket/src/main/java/org/smartboot/servlet/Bootstrap.java

@@ -39,7 +39,7 @@ public class Bootstrap {
         // json
         ServletInfo jsonServletInfo = new ServletInfo();
         jsonServletInfo.setServletName("json");
-        jsonServletInfo.setServletClass(HelloWorldServlet.class.getName());
+        jsonServletInfo.setServletClass(JsonServlet.class.getName());
         jsonServletInfo.addMapping("/json");
         applicationRuntime.getDeploymentInfo().addServlet(jsonServletInfo);
         containerRuntime.addRuntime(applicationRuntime);