Results 1 to 3 of 3

Thread: how to get currently logged in user name

  1. #1
    Join Date
    Jun 2010
    Posts
    11

    Default 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 at 05:49 AM.

  2. #2

    Default

    Are you looking for pageContext.request.userPrincipal?

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

  3. #3
    Join Date
    Jun 2010
    Posts
    11

    Default

    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •