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!

importing the js and css files included in the distributable JAR

795628Apr 22 2009 — edited Apr 23 2009
Hi, I have a custom JSF component that needs one .css and one .js file.

The question is: how can I put those files in the distributable JAR of the component, allowing the jsf pages that use this custom tag, to automatically import them –once per page-?

(RichFaces components, for example, work in this way).

Thanks.

[Lately, searching in SUN forums works horribly for me –in both Firefox and IExplorer-¿?]
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2009
Added on Apr 22 2009
5 comments
251 views