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_r211842658
##########
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
-在下面的章节,还会详细介绍在Spring MVC模式下两者的区别。
+If the business code is not a new development but based on the development of
Spring MVC, now the java chassis is based on the transformation, but also need
to pay attention to the disabling of the DispatcherServlet, and its related
features will no longer take effect.
+In the following sections, the differences between the two in Spring MVC mode
are also detailed.
Review comment:
In the following sections, we'll introduce some details of the differences
in Spring MVC mode.
----------------------------------------------------------------
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