wujimin commented on issue #517: [SCB-253] make integrate with spring-webmvc 
view simpler
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/517#issuecomment-358876529
 
 
   already update the document.
   https://java.huaweicse.cn/build-provider/protocol/rest-over-servlet.html
   
   ?????????UI??????????RestServletContextListener??????springmvc???spring 
context??????????????UI???????????????????springmvc??view????????web.xml?????RestServletContextListener??springmvc?DispatcherServlet????DispatcherServlet?????????org.springframework.web.servlet.DispatcherServlet???org.apache.servicecomb.transport.rest.servlet.CseDispatcherServlet??
   
   
CseDispatcherServlet????2018.2????????????????????????DispatcherServlet???web.xml???????
   ```
   @Override
   protected WebApplicationContext 
createWebApplicationContext(ApplicationContext parent){
     setContextClass(CseXmlWebApplicationContext.class);
     return super.createWebApplicationContext(parent);
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to