Hello all, I am working on the appfuse generated basic struts 2 project. It uses acegi as a security framework for authentication and authorization. How can i access the logged in user from the action? To show the logged in user in the header.jsp page i used a jstl tag provided by acegi as: Welcome<authz:authentication operation="username" />, <a href="<c:url value='/logout.jsp'/>">logout</a> unfortunately this is also shown in login page as Welcome anonymous, logout :) how can i hide that based on whether or not the user is logged in?
-- Thanks, Prashant Khanal