<bean:define id = "user" name = "userName" scope = "session" toScope = "session" type = "java.lang.String" />


struts wrote:


In the Jsp i have:

<sess:attribute name="userName"/>

witch prints the username. Now i want something like:

<%

String username= <sess:attribute name="userName"/>;

%>

but that doesn't work. How can i assign the session variable to the String username ?

Thanks !







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



Reply via email to