开发者

Struts2 application giving blank pages while browsing

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开发者_如何学Python Firefox 3.6.4, , How can I solve this problem ? Can it be solved


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:

  • Zoom function is conflicting (hit Ctrl+0 to fix)
  • Norton 360 firewall is conflicting (disable it to fix)
  • NVIDIA firewall is conflicting (disable it to fix)
  • Realplayer plugin is conflicting (disable it to fix)
  • Flash plugin is conflicting (disable it to fix)
  • There's spyware/adware/virus at your system (scan and clean to fix)

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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜