aspose file tools*
The moose likes JSF and the fly likes How to get resource(img,css) from classpath? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to get resource(img,css) from classpath?" Watch "How to get resource(img,css) from classpath?" New topic
Author

How to get resource(img,css) from classpath?

Vitek Panasyuk
Greenhorn

Joined: Nov 29, 2011
Posts: 1
I have a lot of web application, that have same images, css, javascript. I want to have a one jar file with this resource and use it. Can I do it?

I read about ResourceHandler. But I can not write my Handler. It can be little complex.

I use IceFaces 2.0.2, JSF 2.1.1

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get resource(img,css) from classpath?