Java Web Manager provides a choice of two View Engines. Your choices are: Velocity and Java Server Pages. The View Engine controls the "look" of the Java Web Manger's HTML pages.
By default, the Velocity View Engine is selected. To change the View Engine, follow this procedure:
Using Notepad or other text editor, locate and open the file [jwm root]/WEB-INF/swm.properties
Scroll down the page and locate the following section:
##
# hosts view engine
# 0 = Velocity
# 1 = Java Server Pages
##
hosts.view.engine=0
#hosts.view.engine=1
Modify the hosts.view.engine to use the value 0 (zero) for Velocity or 1 (one) for Java Server Pages.
Reload the Java Web Manager in the servlet container.
NOTE
It is important
to know that the files used to generate the view are located at the root
of the Java Web Manger, and are named Hosts.vm and Hosts.jsp. You
can modify these files to customize the look of the login screen and the
launch page.
You can modify the Hosts.vm or Hosts.jsp as desired to create a custom look and feel to the Hosts Launch screen.
More information on using Velocity is available at http://jakarta.apache.org/velocity/.
More information on using JSP is available at http://java.sun.com/products/jsp/.
TIP
Read the
Web Manager Publishing section
for more information on displaying custom content from the Java Web Manager.