Incorrect SpEL syntax in reference documentation [SPR-16315] #20862
Labels
status: backported
An issue that has been backported to maintenance branches
type: documentation
A documentation task
Milestone
Sviatoslav Hryb opened SPR-16315 and commented
Spring Framework Reference (Testing) https://docs.spring.io/spring/docs/5.0.2.RELEASE/spring-framework-reference/testing.html contains incorrect code fragment in section
3.5.6. Testing request and session scoped beans
The incorrect fragment is:
The problem is that
c:username="{request.getParameter('user')}"
should have prefix#{
for correct SpEL syntax. The same is true forc:password="{request.getParameter('pswd')}"
Affects: 4.3.13, 5.0.2
Referenced from: commits 8aa94ae, 0d151b0
Backported to: 4.3.14
The text was updated successfully, but these errors were encountered: