I am having troubles handling error in
JSP pages.
I am using JSP page directive to specify an error page. At the top of the page I am including a header file using JSP:include. Now what I expect is that if there is any error then only the error page should be displayed. But actually what is displayed is the header followed by the error page.
I think I sort of know why is this is happening. In the JSP:include the argument "flush" has a value of true. When I try setting it to false, the page doesnt work and the header is not included at all. When I checked up the syntax for <jsp:include> I found that the value is supposed to be true!! If that is the case how do I solve this problem.
Any help in this matter appreciated!
Thanks
Amit