Reputation: 6209
I created a new Web Application Project. But if I edit my war/Sandbox_Project.css
, the localhost:8080/Sandbox_Project
web page isn't affected. E.g., if I add a new property body
and some values, there is no effect. But if I change automatically added example properties, everything works.
Automatically added when creating the project. It works.
h1 {
font-size: 2em;
font-weight: bold;
color: #777777;
margin: 40px 0px 70px;
text-align: center;
background: fuchsia; // I added it
}
.sendButton {
display: block;
font-size: 16pt;
font-style: italic; // I added it
}
I added this property and it doesn't work.
body {
background: green;
}
Upvotes: 0
Views: 486
Reputation: 20189
Here are some things you can try.
Try this
body{
background: #FF0 !important; // Just to see if it works.
}
#Dev Tools Steps
- Open Chrome dev tools (i use F12)
By trying all of this you should get some idea of what's going on.
Upvotes: 1
Reputation: 2434
If you are working with GWT and JBoss, I suggest you to use the plugin JBoss GWT Integration in the package JBoss Tools, that will help you to create a normal Web application project but using GWT.
Here you have information about how to make it: Create a project with GWT + JBoss
If you don't use this plugin, you will have to move the content from the war folder to the WebContent folder in order to make it work in localhost, or copy your war directory into the webapp folder of your server.
Upvotes: 0