Jasper pre-compile include JSP pages?

J

Joe Bloggs

Hi,

I have a problem where Tomcat's Jasper seems to pre-compile include JSP
pages rather than merging them into the main JSP before compiling them as an
entire page. Having pre-compiled the include pages cause the unterminated
tag errors.

Is there anything I can do to stop this "feature"? Jetty doesn't seem to do
this.

Example:
---------

header.jsp:

<html>
:

<body>
<table>
<tr>
<td>




Main.jsp
--------------

<jsp:include page="header.jsp" flush="true" />

:
</td>
</tr>
</table>
</body>
</html>


Shouldn't a web server like Tomcat, Jetty, etc merge header.jsp with
Main.jsp before compiling the page rather than compiling them individually?

Is there any Tomcat configuration I can set (inside web.xml or server.xml)
to stop Tomcat/Jasper from pre-compiling include JSPs?



Thanks.

Regards,
 
D

Darren

Hi

I'm having exactly the same problem. I was wondering if you'd found a solution.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top