1. Must using WebApplicationContextUtils? forum.springsource.orgMust using WebApplicationContextUtils? Hi,I have a web app based on Spring. a example Spring configuration file: |
2. WebApplicationContextUtils enhancement forum.springsource.orgHi, wouldnt it make sense to enhance WebApplicationContextUtils with sister methods which accept a PortletContext? Currently I am working in a Portal Environment where its not easy to get a ServletContext, ... |
3. How to unit test method contains WebApplicationContextUtils? forum.springsource.orgHow can unit test if function method include something like this: Code: ApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(WebUtil.getServletContext()); I am using unitils as test framework. It can use annotation to initialize spring context, ... |
4. WebApplicationContextUtils.getRequiredWebApplicati onContext and UnitTests forum.springsource.orgHello, I have the following problem. I have a JSP tag that gets application context with WebApplicationContextUtils.getRequiredWebApplicati onContext. I want to write a unit test for this tag, but I don't ... |