Dave,
Inside JSP code,
<%
${role}
%>
I'm not able to use it inside the <% %>. I want to manipulate this value, so
I need to assign this to a variable.
The problem is how do I assign the value of
<s:property value="role" /> to a variable inside <% %>
something like this...
<%
String role = <s:property value="role" />
%>
Dave Newton <[EMAIL PROTECTED]> wrote:
--- newtostruts struts wrote:
> Even if I use
> > />
>
> I'm not able to use ${foo} in my jsp code.
If the action exposes "role" via a getter then
"${role}" will be accessible in the JSP page (assuming
you're running under a JSP 2.0 container).
d.
____________________________________________________________________________________Looking
for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.