It depends on what you want from it - You could get some information
from it via the Package class, e.g.
public String getVersion()
{
String implVersion = null;
Package pkg = this.getClass().getPackage();
if (pkg != null)
{
implVersion = pkg.getImplementationVersion();
}
return Strings.isEmpty(implVersion) ? "n/a" : implVersion;
}
See the java.lang.Package for more info. Beyond that though, I think
you'll have to address the manifest.mf specifically - I'd not have
expected a resource to find it easily...
E.g. See last post here -
http://forum.java.sun.com/thread.jspa?threadID=642761&messageID=3791501
On 15/08/06, Nino Wael <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi whats the best way to retrieve information from the manifest file?
>
>
>
> I've been looking at servletcontext but that does not seem to be a very
> wicket like approach?
>
>
>
> Should I register the manifest file as a resource and use it that way?
>
>
>
>
>
> Regards Nino
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
--
Download Wicket 1.2.1 now! - http://wicketframework.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user