Here is my code
<%
request.setAttribute("lcItem", "Hello");
%>
if I do as following, m not gettin the value
<s:property value="%{lcItem}"/>
<s:property value="lcItem"/>
If you have any suggestion plz specify
Thanks in advance,
Cheers
Here is my code
<%
request.setAttribute("lcItem", "Hello");
%>
if I do as following, m not gettin the value
<s:property value="%{lcItem}"/>
<s:property value="lcItem"/>
If you have any suggestion plz specify
Thanks in advance,
Cheers
This works perfectly..
<%
request.setAttribute("lcItem", LeftContentItem);
%>
<s:property value="#request['lcItem']" />
Note: According to the Scope we use we should specify the #request .. etc