• Post Reply Bookmark Topic Watch Topic
  • New Topic

Wiered display on JSP - clue needed  RSS feed

 
sumanth kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sumanth kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!