• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:include???

 
raymond yadao
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a simple program using the jsp:include. but as i compile my program an error occured (jspsamples/sample1.jsp [4:0] Invalid jsp:include tag).
here's my code:
<html>
<head><title>JSP Page</title></head>
<body>
<jsp:include page="banner.jsp"/>
<div align="center">Hello There</div>
</body>
</html>

Could anyone help me solve this?
thanks!
raymond
 
paul sun
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Changed to: <jsp:include page="banner.jsp" flush=="true" />
flush="true" is mandatory for jsp1.1
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic