File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jsp:include??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp:include???" Watch "jsp:include???" New topic


raymond yadao
Ranch Hand

Joined: Jan 29, 2001
Posts: 88
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:
<head><title>JSP Page</title></head>
<jsp:include page="banner.jsp"/>
<div align="center">Hello There</div>

Could anyone help me solve this?
paul sun

Joined: Dec 22, 2000
Posts: 28

Changed to: <jsp:include page="banner.jsp" flush=="true" />
flush="true" is mandatory for jsp1.1
I agree. Here's the link:
subject: jsp:include???
jQuery in Action, 3rd edition