Evaluate dynamically constructed JSP at runtime

Posted by Sandy on Stack Overflow See other posts from Stack Overflow or by Sandy
Published on 2009-11-14T04:44:43Z Indexed on 2010/03/25 23:03 UTC
Read the original article Hit count: 560

Filed under:
|

I have a requirement where in the JSP page itself is created by the user and stored in the database. When viewing results we need to render this JSP to the client, evaluating all tags inside this JSP.

I am aware that it is doable as OpenCMS and Blogger both implement this functionality. But, I just can't find the right way.

Any pointers on how to do this?

[Added] Note: I cannot write a temporary file on disk for the purpose :(

© Stack Overflow or respective owner

Related posts about jsp

Related posts about jsp-tags