Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My Servlet's 'first time' rendering blues.

 
Vikram Ramaswamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a servlet application running on JRUN\IIS and intermittently the servlet displays a blank page and then a IE page refresh displays the page correctly. I don't see anything unusual in the logs either.

I know the information above might be too generic, but I am hoping to getting some direction, if at all, on possible places to look at, from those that might have encountered such issues or "gurus" with incredible imagination.

Note: I will understand if this thread is ignored for want of code information, but I can't post any specific details of the application except that it is a normal servlet that tries to access a DB and displays data...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you get the "blank page" is the servlet invoked at all?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen the "blank page" effect when I forgot to flush and close the response output stream.

Bill
 
Vikram Ramaswamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear, yes, the Servlet is invoked.

William, I am looking into the code to see if response streams are being closed. The displayed page is made up of chunks of data processed by different classes and then combined together, so, there are plenty of places for me to check, thanks for the good lead!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic