- 338 名前:デフォルトの名無しさん mailto:sage [2005/04/11(月) 15:20:29 ]
- 便乗質問なんですが、
>>335の > BeanFactoryのアトリビュートへの設定と取り出しを管理するクラス自体は、Spring組み込みで提供されてる。 > しかしServletContextを使える場所でしかBeanFactoryを取得できないという制約が生まれる。 ServletContext sContext = getServlet().getServletContext(); ApplicationContext aContext = (ApplicationContext)sContext.getAttribute("org.springframework.web.struts.ContextLoaderPlugIn.CONTEXT.");
|

|