aspose file tools*
The moose likes JSP and the fly likes JSP Include Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Include Question" Watch "JSP Include Question" New topic
Author

JSP Include Question

Sanka Bhatraju
Greenhorn

Joined: Feb 21, 2003
Posts: 3
My jsp:include does not seem to include the simple hello.jsp complains about setting flush. Does anyone know about the syntax for that or what is wrong with my code?
<HTML>
<BODY>
Going to include hello.jsp...<BR>
<jsp:include page="hello.jsp"/ >
</BODY>
</HTML>
[ March 13, 2003: Message edited by: Sanka Bhatraju ]
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
Could you post your "hello.jsp" source code.
Craig.
Lakshmi Dasari
Ranch Hand

Joined: Mar 03, 2003
Posts: 35
Hi

My jsp:include does not seem to include the simple hello.jsp complains about setting flush

try this. Set the flush property to true.
<jsp:include page="hello.jsp" flush="true" />
Hope this helps.
[ March 13, 2003: Message edited by: Lakshmi Dasari ]

Lakshmi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP Include Question