0

Wsup..basically I have a html file saved in another folder in Eclipse..I want to call a jsp and once I call it...I want the html code to show up...here's what I have

"cp-termsofUse.jsp"

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Terms of Use</title>
</head>
<body>

<jsp:include page="termsofUse.html"  flush="true"/>
</body>
</html>

when I call the file..I get a blank page....any suggestions would be greatly appreciated

thanx

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by mimsc
0

There can be a lot of reasons. Do you get any exceptions? Does the old scriptlet way of including files works?

Also make sure that you don't include a 'html' file but an 'inc' file with only the content minus the '<html>' and '<body>' tags since they are already in your original document.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.