I try the easier method but fail, I place the css file in com.ha.als.public folder and after compile, the css file is placed in war\WEB-INF\classes\public, then I comment the hostpage html <!-- link type="text/css" rel="stylesheet" href="ALS.css"> --> and add the following in gwt.xml <stylesheet src="als.css"/>
all these is followed the developer guide > > https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects > > > Relative vs. Absolute URL > > If an absolute URL is specified in the src attribute, that URL will be > used verbatim. However, if a non-absolute URL is used (for example, > "foo.css"), the module's base URL is prepended to the resource name. This > is identical to constructing an absolute URL using GWT.getModuleBaseURL() > + "foo.css" in client code. This is useful when the target resource is > from the module's public path. > why will it fail?!! and from the console, I found the getModuleBaseURL return http://127.0.0.1:7001/ALS/ALS -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ryz00SaC6XwJ. 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.
