Server detection taglib ver. 1.3

    Custom JSP taglib. This taglib lets you detect a server and execute some server-specific code. For example:
 


<%@ taglib uri="taglib.tld" prefix="d" %>

<d:isJBoss>

  <!-- do something specific for JBoss -->
  ...

</d:isJBoss>

Tags are:

isJBoss

Body tag executes own body if your server is JBoss. Parameters are: none

isWeblogic

Body tag executes own body if your server is Weblogic. Parameters are: none

isOracle

Body tag executes own body if your server is Oracle. Parameters are: none

isGAE

Body tag executes own body if your server is Google App Engine. Parameters are: none

isTomcat

Body tag executes own body if your server is Tomcat. Parameters are: none

isGlassfish

Body tag executes own body if your server is Glassfish. Parameters are: none

isOrion

Body tag executes own body if your server is Orion. Parameters are: none

for downloading:

Library: detecttag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: