I think I found the problem:
I have to associate the CSS in both the module XML file and host HTML page:

MyApp.gwt.xml
<stylesheet src='/MyApp.css' />

MyApp.html
<link type="text/css" rel="stylesheet" href="MyApp.css" />


I thought we should associate the CSS in one of the files :-(



On Mon, Aug 24, 2009 at 12:56 AM, hezjing <[email protected]> wrote:

> Hi
> My GWT 1.7 application is working fine when tested in hosted mode and in
> the compiled version.
> The CSS is associated in the module XML file.
>
> The problem is when I deployed the application in Tomcat 5 on the hosting
> server, the CSS are all stripped off,
> and there seems to be no CSS at all?!
>
> AFAK, the only difference between my environment and the hosting server is
> the web server: Jetty and Tomcat 5.
>
> Do you think this is the problem?
>
> Where should I start tackle this problem?
>
>
> Appreciate your help, thank you!
>
>
> --
>
> Hez
>



-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to