A JSP page is a servlet, so you can do everything you can do with a servlet.  

The JSP page gives you objects that you would normally either receive or derive from 
servlet parameters:  application, session, request and response.  Although you could 
derive the application and session from the request object, JSPs save you the effort.

Based on other posts, request.getUserPrincipal() returns the user name.

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getUserPrincipal()

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831679#3831679

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831679


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to