mirror of
https://github.com/apache/struts.git
synced 2026-08-11 09:36:57 +00:00
WW-3349: Extension .jspf not recognized as JSP result-type
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1096834 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-1
@@ -110,6 +110,7 @@ public class ConventionsServiceImpl implements ConventionsService {
|
||||
|
||||
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 implements ConventionsService {
|
||||
resultsByExtension.put("htm", results.get("dispatcher"));
|
||||
return resultsByExtension;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user