aspose file tools*
The moose likes Tomcat and the fly likes Tomcat webapp not displaying in IE9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat webapp not displaying in IE9" Watch "Tomcat webapp not displaying in IE9" New topic
Author

Tomcat webapp not displaying in IE9

Samuel Salmon
Greenhorn

Joined: Jul 18, 2012
Posts: 3
Hi
I have recently had my laptop upgraded to windows 7 64 bit and have had to reinstall my webapp on it.

I have successfully installed tomcat 6 and the tomcat manager is showing correctly in IE9 on loading http://localhost:8080

My webapp has also been successfully deployed and loads with no errors reported in the stout log.

However when I come to access my webapp in IE9 it semi loads (the title loads on the tab) but then after a few seconds I get a web page cannot be displayed.

Anyone have any thoughts on what could be stopping it from being rendered?

Not sure this is fully a problem with IE as I'm getting the same in chrome.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

If it's doing the same thing in multiple browsers, the problem is clearly in your app. So why does your subject say "in IE9" when the problem is not just in IE9?

What steps have you taken to debug the problem?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Samuel Salmon
Greenhorn

Joined: Jul 18, 2012
Posts: 3
I mentioned IE9 as this is the browser the app has been specifically written for.

It has also been deployed on remote systems using the same java / tomcat combination and it renders fine from remote access the problem is when trying to access the local app instance on my local machine
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Samuel Salmon wrote:I mentioned IE9 as this is the browser the app has been specifically written for.

Red Herring. Mentioning the browser just draws attention away from the real problem which is clearly not browser-specific.

What steps have you taken to debug the problem?
Samuel Salmon
Greenhorn

Joined: Jul 18, 2012
Posts: 3
As stated the app deploys fine with no errors in the stout.

I have checked my hosts file to ensure localhost is in the list not sure where else to check, my next port of call was to reset my Internet settings in IE to see if that helps.

Also to note I had this working using the same app, java and tomcat on my old winxp laptop earlier today fine.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Are you stepping through the code with either a debugger or using logging?

Finding out exactly where things are going awry is going to be of much more use than fiddling with browser settings.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat webapp not displaying in IE9