Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p.190 IndexController #22

Closed
MorrisHong opened this issue Dec 6, 2019 · 3 comments
Closed

p.190 IndexController #22

MorrisHong opened this issue Dec 6, 2019 · 3 comments

Comments

@MorrisHong
Copy link

MorrisHong commented Dec 6, 2019

...
    @GetMapping("/")
    public String index(Model model) {
        SessionUser user = (User) httpSession.getAttribute("user");
...

형변환하는 라인의 코드가 이상한 거 같습니다.. 아닌가용 ㅠ

@jojoldu
Copy link
Owner

jojoldu commented Dec 6, 2019

헉 맞습니다!

SessionUser user = (SessionUser) httpSession.getAttribute("user");

로 해야됩니다 ㅠ
제보 감사합니다! ㅠ

@MorrisHong
Copy link
Author

빠른피드백 감사함당~

@jojoldu
Copy link
Owner

jojoldu commented Dec 6, 2019

넵 감사합니다 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants