Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spring.datasource.url=jdbc:mysql://127.0.0.1:3306/tremplinspringlite
- spring.datasource.username=ecocea
- spring.datasource.password=ecocea
- logging.level.*=TRACE
- spring.jpa.database=mysql
- spring.jpa.hibernate.ddl-auto=update
- spring.mvc.view.prefix=/WEB-INF/jsp/
- spring.mvc.view.suffix=.jsp
- <html>
- <body>Salut</body>
- </html>
- package com.ecocea.tbr;
- import org.springframework.boot.SpringApplication;
- import org.springframework.boot.autoconfigure.SpringBootApplication;
- @SpringBootApplication
- public class TremplinApplication {
- public static void main(String[] args) {
- SpringApplication.run(TremplinApplication.class, args);
- }
- }
- package com.ecocea.tbr.Controllers;
- import org.springframework.stereotype.Controller;
- import org.springframework.web.bind.annotation.RequestMapping;
- @Controller
- public class ControllerTest {
- @RequestMapping("/")
- public String test() {
- return "test";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement