I have to use WordPress as some meta templating system and include some JSP snipptes which will be evaluated later with Tomcat after rendering the page statically. But naturally the JSP Code could not be interpreted by the php parser. This results in plain text strings mixed with the interpreted template parts.
Is there any way to hook into the (pre) rendering of a WordPress Template?
I need way get access the rendered template so i can strip out the JSP-Tags. Maybe wrapped between some unique tags or something else. But this ist not part of this question.
Example
<?php get_header(); ?>
<render:jsp>
<%= request.getParameter("title") %>
</render:jsp>
<?php get_footer(); ?>

JSPfragments which are needed by the Java application to work properly. The Client should be able to view the CMS part without being interrupted by not renderedJSPsnippets. – gearsdigital Sep 30 '12 at 22:46