Author: jogep Date: Tue Apr 26 18:18:08 2011 New Revision: 1096834 URL: http://svn.apache.org/viewvc?rev=1096834&view=rev Log: WW-3349: Extension .jspf not recognized as JSP result-type
Modified: struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java Modified: struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java?rev=1096834&r1=1096833&r2=1096834&view=diff ============================================================================== --- struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java (original) +++ struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java Tue Apr 26 18:18:08 2011 @@ -110,6 +110,7 @@ public class ConventionsServiceImpl impl Map<String, ResultTypeConfig> resultsByExtension = new HashMap<String, ResultTypeConfig>(); resultsByExtension.put("jsp", results.get("dispatcher")); + resultsByExtension.put("jspf", results.get("dispatcher")); resultsByExtension.put("jspx", results.get("dispatcher")); resultsByExtension.put("vm", results.get("velocity")); resultsByExtension.put("ftl", results.get("freemarker")); @@ -117,4 +118,4 @@ public class ConventionsServiceImpl impl resultsByExtension.put("htm", results.get("dispatcher")); return resultsByExtension; } -} \ No newline at end of file +}