spring - How to excute JSTL code when we store in database -
i'm using spring , tiles
i'm storing jstl code database.
when user logs in, fetches time , stores session , puts session value in jsp page jstl tag not executed
for ex.
<c:foreach var="i" begin="1" end="5"> item <c:out value="${i}"/><p> </c:foreach>
page output
item 1 item 2 item 3 item 4 item 5
but output
<c:foreach var="i" begin="1" end="5"> item <c:out value="${i}"/><p> </c:foreach>
same problem wher explain , not possible jstl temple or directly string code in jsp page, once done if use jsp age create load time more current execution time, better way load using session every time , not store database value
Comments
Post a Comment