Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts problem with InsertTag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts problem with InsertTag" Watch "Struts problem with InsertTag" New topic
Author

Struts problem with InsertTag

Christian Edstr�m
Greenhorn

Joined: Aug 30, 2004
Posts: 5
I'm having an issue with websphere 5.1 and tiles not rendering correctly with large amounts of data. Somehow the data seems to be interrupted randomly and doesn't produce the full html that I'm expecting. To me it sounds like a problem with buffers and flushing and eventually I found a workaround.
I makde a change in method doEndTag of InsertTag from this:

// include requested component.
if (flush) {
pageContext.getOut().flush();
}
doInclude(page);

to this:

if (flush) {
pageContext.include(page);
} else {
TilesUtil.doInclude( page, (HttpServletRequest)pageContext.getRequest(),(HttpServletResponse)pageContext.getResponse(),pageContext.getServletContext());
}

Is this purely a Websphere issue or is anyone else experiencing similar problems with uncomplete data?

/C a Struts newbie


==========================<br />SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts problem with InsertTag
 
Similar Threads
Problem with InsertTag and WebSphere 5.1
Struts problem with Was5.1
Sometimes users see other's secure data over ssl on jsp struts and glassfish
Struts templates
Jsp not rendering correctly