开发者

problem of jstl with spring framework 3

开发者 https://www.devze.com 2023-01-07 08:32 出处:网络
i am writing 开发者_运维百科following code in my project with spring framework 3 <c:set var=\"s\" value=\"hello\"/>

i am writing 开发者_运维百科following code in my project with spring framework 3

<c:set var="s" value="hello"/>
<c:out value="${s}"/>

the out put should be hello but its comming ${s}

when i am running the same code in normal web project with out spring in that the code is working fine

kindly help.....


found out the solution its in the web.xml change the version of webapps in my case i added the version parameter as follow

web-app version='2.5"

solved my problem

0

精彩评论

暂无评论...
验证码 换一张
取 消