java - Run JSTL code stored into database field -
i want generate dynamic pages fields stored database.
if store html code database when print code jsp page code rendered navigator. when store jstl code database, code not rendered servlet.
field in database: <h1>hello<c:out value="world"><c:/out></h1>
jsp code: <c:out value="${module.content}">
navigator response: hello
html source code: <h1>hello<c:out value="world"><c:/out></h1>
so jstl code stored database not rendered servlet.
is there option store jstl code database rendered bi servlet?
thanks in advance.
jsp files "compiled" , transformed java class file, each value received jsp data, , cannot added part of source code. think trying equivalent this:
string s=" + b"; int a=1; int b=1; system.out.println("s"); //it won't show "2"
Comments
Post a Comment