java - Display Manifest properties in JSF2 -


What would be the best way to reach a in the manifest attribute (/META-INF/Manifest.mf) ? Net JSF2.0 application?

Pre> @PostConstruct is public init () {try {InputStream = FacesContext.getCurrentInstance (). GetExternalContext (). GetResourceAsStream ("/ Meta-INF / MANIFEST.MF"); Manifest = new manifest (); Manifest.read (is); } Hold (IOException ioe) {logger Terror ("Unable to read MANIFEST file from classpath.", Ioe); }}


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -