I'm sorry, please disregard this error. I think this is due to some corrupt data for the particular records that are in the larger report. My apologies.
Thanks Chris -----Original Message----- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 2:40 PM To: 'Struts Users Mailing List' Subject: RE: Blank Line Filter I removed all the filter logic and left it as a simple call to the chainFilter.doFilter(). On some pages it works fine. On others I get this servlet exception: 2004-10-26 14:44:10,965 DEBUG [InsertTag]: [ServletException in:/pages/reports/viewreport-body.jsp] javax.servlet.ServletException: at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:533) at org.apache.jsp.viewreport_0002dbody_jsp._jspService(viewreport_0002dbody_jsp .java:617) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 04) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) Any ideas? If I remove the filter all together, the page renders just fine. Only thing I can consider is the size of the page being rendered may be causing an issue. The same page with 153 records works. Page with 233 records fail. Chris -----Original Message----- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 2:01 PM To: Struts Users Mailing List Subject: RE: Blank Line Filter Hmmmm. I don't know. Do the log files tell you anything? What happens if you create a mock filter that does nothing, do you get the same behavior? What happens if you comment out the insert in the seekHeader.jsp, does the seekFooter.jsp render then? robert > -----Original Message----- > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 26, 2004 1:39 PM > To: 'Struts Users Mailing List' > Subject: RE: Blank Line Filter > > > Robert - > > One thing I am noticing is that our action forwards to a jsp with the > following content: > > <tiles:insert definition=".seekLayout"> > <tiles:put name="title"><bean:message > key="reports.view.page.title"/></tiles:put> > <tiles:put name="helpURL"><bean:message > key="reports.view.help.url"/></tiles:put> > <tiles:put name="body" value="/pages/reports/viewreport-body.jsp"/> > </tiles:insert> > > The definition in tiels-def is: > > <definition name=".seekLayout" path="/pages/layouts/seekLayout.jsp"> > <put name="title" value="You forgot to include a title!"/> > <put name="helpURL" value="/help"/> > <put name="header" value="/pages/layouts/seekHeader.jsp"/> > <put name="body" value=""/> > <put name="footer" value="/paves/layouts/seekFooter.jsp"/> > </definition> > > The seekHeader.jsp has a tiles insert tag: > <tiles:insert page="/pages/mainmenu-body.jsp"/> > > I end up seeing the content of viewreport-body.jsp and seekHeader.jsp; > however I Never see the inserted /pages/mainmenu-body.jsp nor the > seekFooter.jsp when I apply a filter to the output. Any ideas why? > > -----Original Message----- > From: Robert Taylor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 26, 2004 1:19 PM > To: Struts Users Mailing List > Subject: RE: Blank Line Filter > > > I think your looking for a data compression filter. > > http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=1 > > > robert > > > -----Original Message----- > > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 26, 2004 12:26 PM > > To: '[EMAIL PROTECTED]' > > Subject: Blank Line Filter > > > > > > How would I go about implementing a wrapper around my JSP servlet > > engine that would strip blank lines from the JSP stream when it > > sends the content to the browser? We're using struts and some the > > el tags with heavy iteration and loops on large data sets and what > > we're seeing is that the output can be drastically reduced by > > removing blank lines that are emitted by the struts/JSTL tags. > > > > Any suggestions or recommendations are greatly appreciated. > > > > _______________________________________________________ > > Chris Cranford > > Programmer/Developer > > SETECH Inc. & Companies > > 6302 Fairview Rd, Suite 201 > > Charlotte, NC 28210 > > Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 > > Email: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]