> From: Paul A. Hoadley [mailto:[EMAIL PROTECTED] > Subject: Re: Using getImplementationVersion() to read MANIFEST.MF > > I ended up doing something quite like this (though using > java.util.jar.Manifest)
Watch out for that - it won't work unless the app is deployed as a .war on a device with a real file system. The getResourceAsStream() mechanism should work in all environments. > <jsp:setProperty name="version" property="servletContext" value="$ > {pageContext.servletContext}"/> > > Is this the idiomatic way for a non-servlet object to obtain a > ServletContext, or am I overlooking something easier or more > appropriate? Sounds o.k. to me, but others with more bean experience may have alternatives. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]