THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
ActionContext.getContext().getSession().put("mySessionPropKey", mySessionObject); |
You can also put expression for attributes that don't support dynamic content, like below:
Code Block | ||||
---|---|---|---|---|
| ||||
<c:set var="foo" value="bar" scope="request"/>
<s:textfield name="username" label="%{#request.foo}" />
|
Collections (Maps, Lists, Sets)
...