Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-06-03 12:39:26.333 INFO 15630 --- [nio-8084-exec-9] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 2019-06-03 12:32:10.437 INFO 26049 --- [nio-8084-exec-9] .w.s.m.a.DefaultAnnotationHandlerMapping : Mapped URL path [/testc] onto handler 'testController'
- 2019-06-03 12:32:10.437 INFO 26049 --- [nio-8084-exec-9] .w.s.m.a.DefaultAnnotationHandlerMapping : Mapped URL path [/testc.*] onto handler 'testController'
- 2019-06-03 12:32:10.437 INFO 26049 --- [nio-8084-exec-9] .w.s.m.a.DefaultAnnotationHandlerMapping : Mapped URL path [/testc/] onto handler 'testController'
- 2019-06-03 12:32:10.583 INFO 26049 --- [nio-8084-exec-9] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/testc],methods=[GET]}" onto public java.lang.String com.krawler.spring.TestController.test()
- 2019-06-03 12:32:16.898 INFO 26049 --- [nio-8084-exec-9] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/testc],methods=[GET]}" onto public java.lang.String com.krawler.spring.TestController.test()
- @Controller
- @RequestMapping("testc")
- public class TestController {
- @GetMapping
- public String test(){
- return "test";
- }
- }
- @RestController
- @RequestMapping("testrc")
- public class TestRestController {
- @GetMapping
- public String test(){
- return "test";
- }
- }
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>JSP Page</title>
- </head>
- <body>
- <h1>Hello World!</h1>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement