Link to home
Start Free TrialLog in
Avatar of hashcode
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 ?
Avatar of Mick Barry
Mick Barry
Flag of Australia image

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.
Avatar of hashcode
hashcode

ASKER

Actually, i'm only including html files in the jsp.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial