By searching the archives, it seems that some people have worked
around this issue by having the servlet do this:
InputStream in =
getServletContext().getResourceAsStream("/META-INF/MANIFEST.MF");
Manifest man = new java.util.jar.Manifest(in);
Then, the servlet can access information in the manifest.
My question now is this: Is it a Tomcat bug that the servlet
cannot access its package implementation version like this?
String version = getClass().getPackage().getImplementationVersion();
Or is there something wrong with my MANIFEST.MF or war files?
Thanks,
Daryl Odnert
PostPath, Inc.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]