stripes

JSF vs Stripes, which is best? [closed]

雨燕双飞 提交于 2019-11-29 20:25:43
问题 Which is best, or in other words, whish is easiest to use? Stripes or JSF. Although I haven't used both in anger I need to gauge what is the best option to work with for both starting new projects and converting existing Struts projects. I have a fear that JSF won't render as nicely as I want but what are others experiences? Seems Stripes is far more straight forward, would I be correct in this assumption? 回答1: Which is best, or in other words, which is easiest to use? Stripes or JSF. Which

dependency inject servlet listener

倖福魔咒の 提交于 2019-11-27 02:13:13
问题 In my Stripes app I define the following class: MyServletListener implements ServletContextListener, HttpSessionListener, HttpSessionAttributeListener { private SomeService someService; private AnotherService anotherService; // remaining implementation omitted } The service layer of this app uses Spring to define and wire together some service beans in an XML file. I would like to inject the beans that implement SomeService and AnotherService into MyServletListener , is this possible? 回答1: