This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

print name in header

 
Mike Phillip
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there, I want to show the user's name in the header of my page after the user logs in(like javaranch does: "hello, username".

When the user logs in I do this in the action:
session.setAttribute("user", loginForm.getLogin());


now, how can I show the attribute in the page? I tryed a

#{sessionScope.user}

but didn't work.

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic