Commits

Anonymous committed 06cd953

WW-663: VelocityResult now initializes the VelocityManager

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@581573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 21d434a

Comments (0)

Files changed (1)

File src/java/com/opensymphony/webwork/dispatcher/VelocityResult.java

         ServletContext servletContext = ServletActionContext.getServletContext();
         Servlet servlet = (Servlet) servletContext.getAttribute("webwork.servlet");
 
+        VelocityManager.getInstance().init(servletContext);
+
         boolean usedJspFactory = false;
         PageContext pageContext = (PageContext) ActionContext.getContext().get(ServletActionContext.PAGE_CONTEXT);