You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mauricio T. Ferraz" <ma...@cilix.com.br> on 2003/11/25 11:12:12 UTC

??? I think

I want to create a scriptlet variable with tag struts, how can I do it???

for example:

I have:
 String testStr = session.getAttribute("test");

but I don´t want use it, it´s ugly!!!

I saw the tag <bean:define id="testStr" property="test"/>

but whe I try show it with a expression ( <%=testStr%>)
I have canot resolve the symbol!!!! error!!!
But when I use the <bean:write name="testStr"/> I show the value, but I have
to use <%=testStr%>


Anybody can help me?


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org