I'm trying to make something simple with Stripes. I've read and heard a lot about easiness of using this framework and about steep learning curve (i.e. learning is quite fast and productive).
But till this moment I can't even create the simplest HelloWorld with Stripes.
All examples I've found demonstrate functionality like: "click on the link --> see the result". When we click on the link special handler is called (which returns Resolution
) and after that getters also works (because bean is instantiated).
But if I don't want a link but I want simple static information (for example, when I open StackOverflow I don't need to click a link, but I immediately see a list of questions) then it's something non-trivial for Stripes as it seems to me, because bean is not instantiated immediately.
How to fix that? Are there some special annotation or another technique?
Have anyone here tried Stripes and met the same problem? I'm realy frustrated, maybe I've missed something..
UPD: it's probably not clear because I haven't appended any code. So I describe a bit more. In order to reproduce my situation it's enough to get the code from QuickStart and try to retrieve text from ActionBean getters (currently, text is hard-coded in jsp). The text will appear only after you press the button (i.e. after handler does some work). But after you open the page first time you won't see the text.