|
From: Rajiv S. <raj...@gm...> - 2008-10-30 05:09:34
|
Configuration: Websphere 6.1.0.19 App Server, Oracle DB 10g, Struts 2.0.6, Spring2.0.3 and Hibernate 3.0 I am working on a web app having 3 layers - Action classes, Service or Business Objects and DAOs. BOs and DAOs are accessed thru interfaces. Spring is used to inject dependency. We have defined scope="session" for beans corresponding to actions. For BOs and DAOs , no scope is defined. We are using applicationContext xml files to define beans. Labels and buttons names are picked up from MessageResources.properties file. But on some pages these values are not picked up and labels go missing. Also, it is unable to pick struts ations configured in xml. If I do View Source of the web page, I do not see any errors. In struts.properties, struts.devMode = true struts.i18n.reload=true struts.configuration.xml.reload=true I am new to both Spring and Struts 2 and I am unable to figure that why this is happening. If I remove the scope then it works fine, but for web application I need to deifne scopes otherwise values get swapped for different sessions. As per my understanding , Message resources are loaded in context and it should be available to all. Please help me resolve this issue. Thanks in advance, Rajiv -- View this message in context: http://www.nabble.com/Please-Help-%21%21%21-Setting-scopes-in-Spring--Struts-2-web-app-tp20240981p20240981.html Sent from the springframework-rcp-dev mailing list archive at Nabble.com. |