You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/01/19 06:13:16 UTC

[GitHub] wujimin commented on issue #517: [SCB-253] make integrate with spring-webmvc view simpler

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:
users@infra.apache.org


With regards,
Apache Git Services