THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Now simply annotate your domain model with an @In and @Out session annotation using the string constant from above as the session key.
Code Block |
---|
public class ExampleAction extends ActionSupport { @In(scope = ScopeType.SESSION, value = ModelRepo.DOMAIN_MODEL) @Out(scope = ScopeType.SESSION, value = ModelRepo.DOMAIN_MODEL) private ExampleBean exampleBean; ... } |