Hi everybody,
I'm not able to get a bean with the spring:eval tag.
According to https://jira.springsource.org/browse/SPR-7312, I wrote
and placed in the app context the beanHTML Code:<spring:eval expression="@securityChecks" var="securityChecks" scope="page" />
However when I execute my page (a web flow to be precise) I get the following error:HTML Code:<beans:bean class="it.cmc.security.SecurityChecks" scope="singleton" id="securityChecks" />
What am I doing wrong?HTML Code:org.springframework.expression.spel.SpelParseException: EL1043E:(pos 49): Unexpected token. Expected 'rparen())' but was 'bean_ref(@)'
A second question: is there a way to get the bean by class instead by name?
Many Thanks,
Stefano


Reply With Quote
