Hi there,
I just had a friend install Tomcat for me on my Apache server at school and it's working great with the test .jsp page I created... until I started to use the <jsp:include> tag. Here's my source for "index.jsp":
<html>
<head>
<% String title = "Hello World!"; %>
<title><%= title %></title>
</head>
<body>
<h1><%= title %></h1>
<jsp:include page="inc/header.jsp" flush="true" />
</body>
</html>
Here's my source for "inc/header.jsp":
This is an include from the "inc" directory!
When I load the page in a browser... "This is an include from the 'inc' directory!" does NOT show up on the page. However, if I view said page's source, I see this:
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
This is an include from the "inc" directory!
</body>
</html>
Can anyone please tell me why my include ("This is an include from the 'inc' directory!") is NOT being rendered on the web page... yet appears in its source? Thank you,
CabG