aspose file tools
The moose likes JSP and the fly likes JSP page stops rendering at the middle Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP page stops rendering at the middle" Watch "JSP page stops rendering at the middle" New topic
Author

JSP page stops rendering at the middle

Sergio Felix
Greenhorn

Joined: Oct 31, 2008
Posts: 9
Hello, I've run into a little problem. My JSP will stop rendering at some point in my page. But only with some results from my DB. Can a strange non-ASCII char be doing this?



As you can see from the screenshot the page is killed after the "D" in the navigation menus on the right. The line in question does not write anything different then the one's at the top. I'm really puzzled by this as no error or exception is thrown.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56180
    
  13

Are you so sure about the exception? 99.9999999% of the time, an incompletely rendered page is the result of an exception.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Sergio Felix
Greenhorn

Joined: Oct 31, 2008
Posts: 9
Hello Bear Bibeault, turns out that by removing some parts of the long code I did manage to get to the bottom of things and notice that a container was throwing a Number format Ecxeption. The strange thing is that only by removing some parts of the code the error came to the surface. Thanks anyway =)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56180
    
  13

When a page incompletely renders you can place a bet on that an exception is being thrown.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSP page stops rendering at the middle
 
Similar Threads
datas into javascripts..
writing directly
barcode display in JSP
Rendering unicode characters
Circle collision Detection: Solved =)