Skip to content

Allow SpEl expressions to be evaluated from JSPs [SPR-6827] #11493

Closed
@spring-projects-issues

Description

@spring-projects-issues

Keith Donald opened SPR-6827 and commented

As a user, I would like to be able to evaluate SpEL expressions from my JSPs to take advantage of all that SpEL has to offer, such as the ability to invoke methods on Java objects. The EvaluationContext should expose access to the same variables standard EL expressions have access to, such as page scope and request scope.

We should look at a dedicated spring:eval tag for this, as well as opportunities to directly hook into the JSP engine itself so standard ${exp} syntax can be used for evaluating SpEL expressions.


Affects: 3.0 GA

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)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