Skip to content
Success

Changes

Summary

  1. Align JSP spec with Import changes added in EL 3.0 (#205) (details)
Commit 5b2a0fcf29961f43a511d87fa7895201ea7dc231 by noreply
Align JSP spec with Import changes added in EL 3.0 (#205)

* Part of the fix for #44

The EL environment is now explicitly aligned with the scripting
environment. Note that several implementations have already implemented
this on the basis that the requirement was implied. The following has
now been made explicit:
- the implicit/default imports defined in the JSP spec apply to the
  EL environment as well
- imports declared via the import attribute of the page directive also
  apply to EL

* Fix a comment typo

* Complete the implementation of #44

Refactor ScopedAttributeELResolver into two additional resolvers
(ImportELResolver and NotFoundELResolver) to remove the special handling
for those cases that was unrelated to scoped attributes.
The file was modified spec/src/main/asciidoc/ServerPages.adoc (diff)
The file was addedapi/src/main/java/jakarta/servlet/jsp/el/NotFoundELResolver.java
The file was modified spec/src/main/asciidoc/images/sp-2.svg (diff)
The file was addedapi/src/main/java/jakarta/servlet/jsp/el/ImportELResolver.java
The file was modified api/src/main/java/jakarta/servlet/jsp/el/ScopedAttributeELResolver.java (diff)