java - Determining application server at runtime? -


can determine, during runtime, on application server application deployed: glassfish, weblogic or jboss?

you try using

string serverinfo = application.getserverinfo(); 

in jsp. in servlet, try using

string serverinfo = getservletcontext().getserverinfo(); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -