You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/08/25 06:57:00 UTC

[GitHub] crystaldust commented on a change in pull request #40: Using java chassis in spring boot dir translation

crystaldust commented on a change in pull request #40: Using java chassis in spring boot dir translation
URL: https://github.com/apache/incubator-servicecomb-docs/pull/40#discussion_r211842068
 
 

 ##########
 File path: java-chassis-reference/en_US/using-java-chassis-in-spring-boot/web-application.md
 ##########
 @@ -36,15 +36,14 @@ public class HelloService {
 }
 ```
 
-然后可以通过:http://localhost:9093/hello?name=world来访问。
-
-可以看到使用的标签和Spring MVC大部分是一样的。但也有少量不一样的地方,比如:
+Then you can access it by http://localhost:9093/hello?name=world.
 
-1. 通过RestSchema替换RestController
+You can see that the tags used are mostly the same as Spring MVC. But there are also a few different places, such as:
 
-2. 需要显示声明@RequestMapping
+1. Replace RestController with RestSchema
 
-如果业务代码不是新开发,而是基于Spring MVC做的开发,现在java chassis基于做改造,还需要注意在禁用DispatcherServlet后,和其有关的功能特性将不再生效。
+2. Need to display the declaration @RequestMapping
 
 Review comment:
   Declare @RequestMapping explicitly.

----------------------------------------------------------------
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