Hello all. <% UserSessionInfo info = (UserSessionInfo) session.getAttribute(UserSessionInfo.USER_SESSION_INFO_KEY); <!-- Print user's login ok --> out.println(info.getUser().getLogin()); %>
Later on page: <!-- Prints empty strings instead of user's login --> <c:out value="${info.user.login}"/> <c:out value="${info.user.role.title}"/> Please tell me where my mistake. Also, is there ways to avoid scriptlets on my jsp? I use <jsp:useBean> but it always try to create new instance of UserSessionInfo, instead of find it in session. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]