Skip to content

Improve <spring:eval> to use beans [SPR-7312] #11971

@spring-projects-issues

Description

@spring-projects-issues

Sylvain LAURENT opened SPR-7312 and commented

#11832 allowed to reference beans in expressions, which is nice, but it requires a BeanResolver to be setup in the EvaluationContext. Unfortunately org.springframework.web.servlet.tags.EvalTag does not setup such a resolver.

My own purpose is to be able to access request-scoped or session-scoped beans in a JSP with a spring:eval tag.


Affects: 3.0.3

Referenced from: commits 263fabb

1 votes, 1 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions