hashcode
asked on
@ include question
Hi,
Previously, my web applicaitions are running on Weblogic. Recently, I have to adapt to Websphere due to client requirements. One of the changes I made is to specify the flush="true" attribute to the jsp:include directive. However, since some of the pages are not refreshed too often, I want to use the @include directive instead of the jsp:include. My question is do i have to specify an out.flush() statement or the @include is enough ?
Previously, my web applicaitions are running on Weblogic. Recently, I have to adapt to Websphere due to client requirements. One of the changes I made is to specify the flush="true" attribute to the jsp:include directive. However, since some of the pages are not refreshed too often, I want to use the @include directive instead of the jsp:include. My question is do i have to specify an out.flush() statement or the @include is enough ?
Not sure I follow your rationale for switching to @include. The two are functionally different, jsp:include inserts the response text generated by executing the include, wheras @include statically includes the text before generating the servlet.
Unless you mean you going to @include the text that would be generated by the jsp:include, in which case @include should be enough.
ASKER
Actually, i'm only including html files in the jsp.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.