The moose likes JSP and the fly likes Wiered display on JSP - clue needed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Wiered display on JSP - clue needed" Watch "Wiered display on JSP - clue needed" New topic
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
 
Threads others viewed
is it possible to open a IE window showing only title bar?
refresh page
Advice / Tips for my CV/Resumé
Servlet-Jsp-Jrun Server-URGENT
How to navigate from jsp-to servlets-and again to another -jsp
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture