Announcement Announcement Module
Collapse
No announcement yet.
how to get currently logged in user name Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to get currently logged in user name

    Hi.
    I am new to roo,can anybody tell me how to get the currently logged in user name in my jspx page using roo.Thanks in advance
    Last edited by gyanendra909; Jul 30th, 2010, 06:49 AM.

  • #2
    Are you looking for pageContext.request.userPrincipal?

    Example: http://www.cs.uccs.edu/~cs301/j2ee/j....html#wp279492

    Comment


    • #3
      Thank u very much for ur response.but i think with help of pageContext we can get the value in its next page and so...
      but i want to get it through session,can please give me some more idea regarding this...

      Comment

      Working...
      X