The future is here. It's just not evenly distributed yet. - William Gibson
Sonny Gill LinkedIn
Tweets
Just knowing<br /> <br />I am start Learning English now.
Just knowing<br /> <br />I am start Learning English now.
Originally posted by Victor Hou:
Still I have a question for my own, hope any one could help me here is the code:
notice this wont work but if I change it to this code will go well.
The future is here. It's just not evenly distributed yet. - William Gibson
Sonny Gill LinkedIn
Tweets
<s:text name="%{response}"/>
It can get the value from getResponse(), I can't use <s:text name="response"/>
<s:property value="name" />
will look for a name property in the value stack i.e. is a value retrieved by calling getName().
If you wanted to force it to use literal value "name", you will need to use the %{} syntax -
<s:property value="%{'name'}" />
Just knowing<br /> <br />I am start Learning English now.
Live your life. Don't just exist.
Consider Paul's rocket mass heater. |