Now,it doesn't face any problem while displaying data in table form on the page but when i try to export it (csv,excel,xml) then it fires the above exception.This is bit surprising to me.
The dispalytag related tags are in a jsp. This jsp is included in a Spring tag handler class by pageContext.include("xyz.jsp"). This tag(defined by the Spring Tag Handler class) is being used in another jsp where the table is displayed. Paging works perfectly, but when I click on export, the exception occurs.
I am using the followings: JDK1.5,Displaytag 1.1 and Spring 1.2.7
The Actual flow is something like this.
1)Controller forwards the request to jsp page.
2)This jsp page uses a custom tag.
3)Now,it goes to custom tag handler class where i set the all the data into request like
4)Then i have included the page like
5)This xyz.jsp contains the following code.
Here,i get all the data on the page.
5)So,in this way the page is getting rendered.
I have also included filter into web.xml file.
Hope i have provided all the information. I think i haven't made any silly mistake.