views:

142

answers:

2

I have struts2 application with struts2 version 2.0, There is no error on server side or client side but frequently its showing blank pages while browsing. It seems like browser could not render the html page. These blank pages are not shown on specific pages but randomly shown on different pages.

I have been told to fix problem but could not guess where the problem is. I tried disabling dev mode using struts.xml tag

<constant name="struts.devMode" value="false" />

Also I tried to host website on different machine but it did not solved problem, Can somebody please help me solve problem,

I am using apache tomcat version 6.26

EDIT: No Tpmcat logs are coming with respect to current problem, When checked the source its not blank. I am using Firefox 3.6.4, , How can I solve this problem ? Can it be solved

A: 

One suggestion is to put different log messages between the JSP lines and to check till where the code is getting executed properly so that you can pinpoint exactly where the problem is coming.

RaviG
It gets executed as I get output in html source
Xinus
+1  A: 

Since the webpage source is correctly coming in, this just look like a FireFox specific issue. Google also learns me that you're not the only one who encounter this issue. There are several possible client side software based causes for this:

Regardless, best what you can do as quick test is to try a different webbrowser (e.g. MSIE8, Chrome or Safari) and play/surf the website. Don't worry about layout, it's about functionality now. If it all works flawlessly, then it's certainly a FireFox related issue. Try creating a new FireFox profile and retry. Try disabling all software based firewalls you have at your machine. Try scanning your system for spyware. Try testing in other machines as well.

BalusC
Thanks, I tried this website on Google chrome and functions perfectly. I wonder why Firefox goes mad with my website only and not with the others ?
Xinus
Maybe because certain plugins got triggered during loading your site and were conflicting?
BalusC