change it to <c:out value="${sessionScope.variable}"/>

On 28/09/05, Troy Bull <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I have an action that puts a string in to session named variable.  Then
> returns success which loads a jsp page.  On that page I have the
> following 2 lines.  I thought it would print out the message 2 times but
> it does not it only prints it once.  The second line is the one that
> prints it out.
>
>     <c:out value="${session.variable}"/>
>      <%= session.getAttribute("variable") %>
>
> So the c:out tag isn't working, any ideas why that would be?
>
> Also, is there some struts specific way (using the struts) tags that I
> should be using to do this?
>
> Thanks
> troy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to