View Full Version : GXT war file, deployed on Tomcat doesn't render properly!

9 Sep 2009, 9:12 AM
Hi all,

I'm using GXT for a while in the host mode, but when I try to deploy it onto Tomcat server, it doesn't render my web pages properly - even if they look okay in the hosted mode and in the browser after compiling from the hosted mode.
It looks as there is something wrong with the themes or resource files, since there is no image displayed here, or any other UI effect except the text.

With pure GWT I didn't have such problems.

There is a simple example which demonstrates my problem:

Hosted mode

http://img3.imageshack.us/img3/3699/61317371.jpg (http://www.postimage.org/)

Compiling from hosted mode to browser

http://img4.imageshack.us/img4/3258/41138928.jpg (http://www.postimage.org/)

Deployed on Tomcat :s

http://img3.imageshack.us/img3/9877/11939925.jpg (http://www.postimage.org/)

Has anybody faced the similar problem?

Any help I would really appreciate!

Thanks in advanced,

9 Sep 2009, 9:14 AM
Your css path is wrong.

9 Sep 2009, 12:05 PM
Thanks Sven!

Can you please explain me what could be wrong with css patch? Or on the other hand, how the correct patch should look like?

9 Sep 2009, 12:09 PM
Try to inspect the page with firebug and found out why the path is wrong.

9 Sep 2009, 1:08 PM
Thanks a lot Sven,

I'll check this!