I have an application developed using Primefaces 2.2.1 and JSF 2.0 deployed on a local Glassfish 3.1 machine.
The problem is that when accessing the application using http://localhost:8080/MyAppformatting the user interface is in order. But if I get access to an application using http://ip-address:8080/MyAppinstead of localhost in the URL, the formatting of the user interface is a bit confused.
This problem only occurs in IE (I have version 8.0) and not in FF. What is the difference between usage localhost:8080and ip-address:8080url? Below are photos illustrating my problem.
Usage http://ip-address:8080/MyApp:

Usage http://localhost:8080/MyApp:

Thank.