Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
java
java
1titleHelloWorldAction.java setSession Method

private Map<String, Object> userSession ;

public void setSession(Map<String, Object) session) {

   userSession = session ;

}

...