4.<b>Artist Name :</b> <s:property value="#session['artistName']" /> <br>
5.<b>Artist Bio :</b> <s:property value="#session['artistBio']" /> <br>
In the same way you can also store the values in other maps avaliable in the ActionContext.
You can push a value into the ValueStack using the push tag. The value we pushed using push tag will be on top of the ValueStack, so it can be easily referenced using the first-level OGNL expression instead of a deeper reference. The following code show how to do this.
1.<b>Album Title :</b> <s:property value="title" /> <br>
2.<s:push value="artist">
3.<b>Artist Name :</b> <s:property value="name" /> <br>
4.<b>Artist Bio :</b> <s:property value="bio" /> <br>
5.</s:push> |