Skip to content

spring:eval displays 'null' when expression evaluates to null [SPR-7459] #12117

@spring-projects-issues

Description

@spring-projects-issues

Florian Fankhauser opened SPR-7459 and commented

When the expression in a spring:eval tag evaluates to null, the string 'null' is displayed. I think the right behaviour would be an empty string because that would be consistent with the behaviour of JSP EL and spring:bind.


Affects: 3.0.3

Referenced from: commits 34ebad5

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions