At the time of theme development, many of the developers may require
to display node name or server name as part of theme development.
This is very useful to troubleshoot any issues in cluster node environments.
Just include the following line in footer or header jsp in the
theme.
<%@page import="com.ibm.websphere.runtime.ServerName"%>
< !-- Server Full Name: <%=ServerName.getFullName()%> -->
< !-- Server Display Name: <%=ServerName.getDisplayName()%> -->
No comments:
Post a Comment