eclipse-ee4j / eclipse-ee4j/jersey
JspTemplateProcessor should support *.jspx extension.
Open
Component: core
Priority: Minor
Type: Improvement
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
*.jspx is a common extension for XML compliant variation of the JSP files. The JspTemplateProcessor should support it together with *.jsp.
Extremely simple fix is possible:
```
@Inject
public JspTemplateProcessor(final Configuration config, final ServletContext servletContext) {
super(config, servletContext, "jsp", "jsp");
}
```
should be replaced with:
```
@Inject
public JspTemplateProcessor(final Configuration config, final ServletContext servletContext) {
super(config, servletContext, "jsp", "jsp", "jspx");
}
```
#### Affected Versions
[2.23.1]
Contributor guide
Assessment
This issue has not been assessed yet.