THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The SessionAware interface has one method, setSession, that your Action class will need to override. In the example application (see above), the HelloWorldAction class implements the SessionAware interface and includes this code:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
private Map<String, Object> userSession ; public void setSession(Map<String, Object) session) { userSession = session ; } |
...