yes its true.we cant define Autoflush twice in a jsp page.
org.apache.jasper.JasperException: /hello.jsp(8,0) Page directive: illegal to have multiple occurrences of autoFlush with different values (old: true, new: false)
And below your replie's says this. I am confused here. Is the above answer wrong because we first used autoFlush="true" and then we used autoFlush="false" ----------------------------------------------------------------- Multiple import means same page has
You cannot use multiple "page directive with autoFlush attribute". So Enthuware is correct that the answer is wrong. However you can use multiple page directive with the import attribute.Only import attribute is allowed with multiple page directive. I hope this clears your doubt.