Commits

Anonymous committed 2a36339

Comments (0)

Files changed (2)

src/java/com/opensymphony/webwork/views/freemarker/FreemarkerManager.java

         if (config == null) {
             config = createConfiguration(servletContext);
 
-            // store this configuration in the servlet context 
+            // store this configuration in the servlet context
             servletContext.setAttribute(CONFIG_SERVLET_CONTEXT_KEY, config);
         }
 
      */
     protected TemplateLoader getTemplateLoader(ServletContext servletContext) {
         // presume that most apps will require the class and webapp template loader
-        // if people wish to 
+        // if people wish to
         TemplateLoader multiLoader = new MultiTemplateLoader(new TemplateLoader[]{
             new WebappTemplateLoader(servletContext),
             new ClassTemplateLoader(FreemarkerResult.class, "/")
     /**
      * Load the settings from the /freemarker.properties file on the classpath
      *
-     * @see freemarker.template.Configurable#setSetting for the definition of valid settings
+     * @see freemarker.template.Configuration#setSettings for the definition of valid settings
      */
     protected void loadSettings(ServletContext servletContext, freemarker.template.Configuration configuration) {
         try {

src/java/com/opensymphony/webwork/views/freemarker/FreemarkerServlet.java

     }
 
     /**
-     * This method is called from {@link #doExecute()} to obtain the
+     * This method is called from {@link #process(HttpServletRequest, HttpServletResponse)} to obtain the
      * FreeMarker object wrapper object that this result will use
      * for adapting objects into
      * template models.. This is a hook that allows you
             return (includePathInfo == null) ? includeServletPath : includePathInfo;
         }
 
-        // Seems that the servlet was not called as the result of a 
+        // Seems that the servlet was not called as the result of a
         // RequestDispatcher.include(...). Try pathInfo then servletPath again,
         // only now directly on the request object:
         String path = request.getPathInfo();
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.