On 5/23/07, newtostruts struts <[EMAIL PROTECTED]> wrote:

  <%
        String role = <s:property value="role" /> ;
  %>

  Even if I use
  <c:set var="foo"><s:property value="role" /></c:set>

  I'm not able to use ${foo} in my jsp code.

If you /must/ use a scriptlet in your page, something like:

<c:set var="foo" scope="request"><s:property value="role" /></c:set>
<%
   String role = (String)request.getAttribute("foo");
%>

:: should work...

--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

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

Reply via email to