Diego Ezquerro wrote:
I'm developing a web app using struts and wanna know if there is a way to get 
the session attributes using struts tags.
What i want to do is something like this (within a jsp page):
<%
    User user = (User)session.getAttribute("user");
        out.println("<b>Welcome " + user.getUsername() + "!</b>");
    %>


Just try this:
${user.username}

Depending on JSP version you're running it might work.
(I know it's not struts tags but no need to complicate things)

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to