Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why this does not works??? (I use <jsp: include.> to contain two jsp files)

843838Mar 15 2007 — edited Mar 15 2007
I have a main.jsp, and in this main.jsp, I have two part, leftButton.jsp and view.jsp, I want to include the leftButton.jsp and view.jsp to main.jsp.

The code of main.jsp is like follows:

<%@ page language="java" contentType="text/html" %>
<html>
<head>
<title>JSP include element test</title>
</head>
<body>
<table>
<tr>
<td><jsp: include page="leftButton.jsp" flush="true"></jsp: include></td>
<td> <jsp: include page="view.jsp" flush="true"></jsp: include></td>
</tr>
</table>

</body>
</html>


Why the include does not works? by the way, I embeded a flash.swf file in view.jsp.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2007
Added on Mar 15 2007
3 comments
477 views