This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Consider Paul's rocket mass heater.
subject: jsp:include???
Similar Threads
Form Being Rendered Outside of the Page
Error Page Not Found
Struts2_Ajax tags not working
Help me... Pls