package com.example.redisstudy; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpSession; import java.util.HashMap; @RestController public class LoginController { // login?name=Jay // /myName => "Jay" HashMap sessionMap = new HashMap(..