Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.1.8.1, 2.2.1
-
None
-
Any
Description
I make use of jsp templates and small fragments, ending with .jspf
These should be considered as result-type "dispatcher" as well (it seems that currently only jsp, jspx are considered to dispatcher-results)
According to
http://java.sun.com/developer/technicalArticles/javaserverpages/code_convention/
the ending .jspf might be an option for jsp-fragments. Should this be added to ConventionsServiceImpl ?
From ConventionsServiceImpl:
/**
- {@inheritDoc}
*/
public Map<String, ResultTypeConfig> getResultTypesByExtension(PackageConfig packageConfig) {
Map<String, ResultTypeConfig> results = packageConfig.getAllResultTypeConfigs();
Map<String, ResultTypeConfig> resultsByExtension = new HashMap<String, ResultTypeConfig>();
resultsByExtension.put("jsp", results.get("dispatcher"));
// Added to make jspf a valid JSP-extension:
resultsByExtension.put("jspf", results.get("dispatcher"));
....