Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp not rendering correctly  RSS feed

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having an issue with websphere 5.1 and tiles (Struts 1.1 and latest release) 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 made a change in method doEndTag of InsertTag from this:

// include requested component.
if (flush) {

to this:

if (flush) {
} 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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!