SyntaxFix
Write A Post
Hire A Developer
Questions
Using ApplicationContextAware is tying you to Spring (which may or may not be an issue). I would recommend passing in a LoginActionFactory, which you can ask for a new instance of a LoginAction each time you need one.
ApplicationContextAware
LoginActionFactory
LoginAction