You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2015/12/02 13:37:10 UTC

[jira] [Commented] (WW-4574) How to get value of value in struts jsp

    [ https://issues.apache.org/jira/browse/WW-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035728#comment-15035728 ] 

Lukasz Lenart commented on WW-4574:
-----------------------------------

It's a double evaluation which is prohibited. You can directly use {{#session.name}}.

And please ask such questions on User Mailing List -> http://struts.apache.org/mail.html or via StackOverflow

> How to get value of value in struts jsp
> ---------------------------------------
>
>                 Key: WW-4574
>                 URL: https://issues.apache.org/jira/browse/WW-4574
>             Project: Struts 2
>          Issue Type: Temp
>            Reporter: ramprasad
>
> Hi,
> I am new to struts framework. I want to display a value of value.
> For example :
> Value for Name in value stack is #session.name
> But #session.name value is 'John'
> {code:xml}
> <s:property value='%{Name}'/>
> {code}
> I just want to print 'John'. But it prints #session.name
> Thanks in advance
> Ramprasad.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)