This commit is contained in:
trochas
2025-10-08 10:13:06 +02:00
3 changed files with 19 additions and 3 deletions

View File

@@ -1,8 +1,16 @@
package sample.data.jpa.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
import org.springframework.web.bind.annotation.RequestMapping;
import sample.data.jpa.service.SessionDao;
@RequestMapping("/session")
public class SessionController {
private SessionDao sessionDao;
}

View File

@@ -10,6 +10,7 @@ import sample.data.jpa.domain.User;
import sample.data.jpa.service.UserDao;
@Controller
@RequestMapping("/user")
public class UserController {
/**

View File

@@ -1,8 +1,15 @@
package sample.data.jpa.web;
import org.springframework.stereotype.Controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
import sample.data.jpa.service.UtilisateurDao;
@RequestMapping("/session")
public class UtilisateurController {
private UtilisateurDao utilisateurDao;
}