static resources的使用(Apex、Visualforce 以及 Custom Button)

In Apex

Normal file (with soql)

Normal file (with PageReference.getContent)

Zip file (with PageReference.getContent)

※Zip file can not be accessed by soql.

In VF

Normal file

Zip file

In Custom Button