"Lucia Giraldo" wrote:
>
>Hello!
>I have a servlet in a web application that is deployed in two application
>servers
>of different version, one is WebLogic Server 5.1 and the other is WebLogic
>Server
>7; at run time the servlet need to know which is the version of the application
>server where it's running.
>Can anyone help me?
>Thank you!



Hi Lucia,

Set a system property for weblogic version and retrieve it at run time using
System.getProperty() as shown below.


System.setProperty("weblogic.version","7.0");
System.getProperty("weblogic.version");

Prema

SIP Technologies & Exports Ltd., India