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
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.
Are you looking for pageContext.request.userPrincipal?
Example: http://www.cs.uccs.edu/~cs301/j2ee/j....html#wp279492
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...