| Author |
Wiered display on JSP - clue needed
|
sumanth kumar
Greenhorn
Joined: Jul 29, 2005
Posts: 22
|
|
Hi,
We've been using a java web (JSPs, and Servlets only) tool which runs in jboss 5, so far so good everything went well but for a particular user the JSP page is showing half only rest is not displaying. For other users data everything is showing as we expected. I've no clue why the page is showing half, I went into our application logs but no errors reported. Is there a way to triage this issue in prod box? please advice as soonest.
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50691
|
|
Have you done any debugging?
Is the complete HTML being sent? Or is it truncated?
Any errors in the logs? If so, what are they? If not, find the places in your code where exception are being eaten.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
sumanth kumar
Greenhorn
Joined: Jul 29, 2005
Posts: 22
|
|
Thanks Bear for your reply,
I just put the print statements in the JSP where extactly failing to see what data it is, I found some wiered characters in the data in the next field (not in current field) (textarea), the text seems like
�I am away from the office
. Is this affecting our JSP? how do we convert this in normal String?
Actually HTML is truncated, its not complete one.
I've checked the logs, no errors logged.
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50691
|
|
Truncated HTML means an exception was thrown.
Either the exception is n=in the logs and you missed it, or your code is catching and dismissing the exception.
|
 |
sumanth kumar
Greenhorn
Joined: Jul 29, 2005
Posts: 22
|
|
|
We found it, because of above kind of text the remaining page truncated. But how do we handle that String? How to show the String as it is?
|
 |
 |
|
|
subject: Wiered display on JSP - clue needed
|
|
|