WebApplicationContextUtils « Web « Spring Q&A





1. Must using WebApplicationContextUtils?    forum.springsource.org

Must using WebApplicationContextUtils? Hi,I have a web app based on Spring. a example Spring configuration file: MessageHandlerDAO,listenering message from ...

2. WebApplicationContextUtils enhancement    forum.springsource.org

Hi, 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.org

How 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.org

Hello, 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 ...