struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4574) How to get value of value in struts jsp
Date Wed, 02 Dec 2015 12:37:10 GMT

    [ 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)

Mime
View raw message