I'm new to JSF 2.0. i want to apply style for JSF LAYOUT like want to change remove border, set bg color. It is working through the style. but it's not working when i included css file. Is there any other way to include css file in JSF. And also i have removed dafault styles using
The Oracle docs on this element are really putrid, but apparently the following should work:
I'm not sure what your absolute resource path resolves to in terms of an actual URL (you can use a browser's View Page Source feature to check it). There's a good chance that it's overriding JSF's concatenation of the webapp context into the generated URL.
Using the above notation should work if your WAR has a /resources/css directory in it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
a bit of art, as a gift, the permaculture playing cards