eclipse-ee4j / eclipse-ee4j/jersey

JspTemplateProcessor should support *.jspx extension.

Open
#3,401 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.