Will this do?

import java.util.jar.Manifest;
...
ServletContext ctx = ...;
InputStream in = ctx.getResourceAsStream("/META-INF/MANIFEST.MF");
if (in != null) {
  Manifest mfst = new Manifest(in);
  ...
  in.close();
}

Quoting Martin Gross <[EMAIL PROTECTED]>:

> I would like to read the content of /WEB-INF/META-INF/MANIFEST.MF file
> by a struts based application. Does anybody have an example how to do
> it? The only references I found are only for jar files.
> 
>  TIA,
>  Martin

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to