gaffcz
gaffcz

Reputation: 3479

RichFaces - style problem (publishing on server)

When I run my application directly from development enviroment (eclipse + tomcat 7 at localhost), graphic looks different than when I start it from server (not localhost).

localhost (eclipse, tomcat, firefox 5): enter image description here

on server (tomcat, firefox 5): enter image description here

All neccessary libraries are in WEB-INF\lib, style.css is also present, project is deployed as WAR file on tomcat server.

Don´t you know where could be the problem?

Upvotes: 1

Views: 350

Answers (1)

BalusC
BalusC

Reputation: 1108642

The differences are caused by the difference in the software/hardware of the machine which you used to view the webpage. In the second screen the fonts are not antialiased which means that the operating system of the machine has cleartype/antialiasing turned off or that the graphics card simply doesn't support it. As to the colors, this can happen when the machine doesn't support for example 32k colors, but only 16k or even less. This can be either an operating system setting, or a poor graphics card, or being just a screenshot taken over a remote desktop connection which is usually returned with less colors to save network bandwidth.

They are not caused by CSS/JSF/RichFaces in any way.

Upvotes: 2

Related Questions