Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Path to CSS file

843842Feb 16 2004 — edited Jun 11 2008
CSS is very important thing for JSF, but standard jsf libraries do not allows to define path to CSS file. The car-demo example uses the following code:
<link rel="stylesheet" type="text/css"
            href='<%= request.getContextPath() + "/stylesheet.css" %>'>
It looks like a temporary workaround. Is jsf-ri final version going to carry about it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2008
Added on Feb 16 2004
11 comments
432 views