users@glassfish.java.net

Re: getting glassfish version number at run time

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Sep 2010 19:39:24 PDT

> Hi.
> I'm trying to grab glassfish version number (and
> other informations if possible) at run time from
> within a servlet.
> Can't find anything about that anywhere.
> Any idea ?

Try this:

http://download-llnw.oracle.com/javaee/6/api/javax/servlet/ServletContext.html#getServerInfo()

Bill
[Message sent by forum member 'wbehymer']

http://forums.java.net/jive/thread.jspa?messageID=483568