NavTree is a JavaBean that enables web developers working with JSP and servlets to easily incorporate a
tree-structured navigation menu into their websites. Many applet or JavaScript-based treeviewer require a separate frame to hold the menu so that it does not lose state as the user navigates through the tree.
NavTree uses server-side technology that does not require any frames at all. It is fast, supports multilingual
menus and handles virtually unlimited menu levels.





NavTree
Introduction
Prerequisites
Pricing
Purchase
Download
Installation
Documentation
Sample Menus
The following example shows how easy it is to create a menu using NavTree.
  • Create a menu file eg. /NavTree/menu/menu.txt that contains:
    0; Products ; /NavTree/doc/sample_jsp/sample_jsp.jsp
    1; Vehicles ; /NavTree/doc/sample_jsp/vehicles.jsp
    2; Cars ; /NavTree/doc/sample_jsp/cars.jsp
    3; Small ; /NavTree/doc/sample_jsp/cars.jsp?#small
    1; Hot News! ; /NavTree/doc/sample_jsp/hotnews.jsp
    
  • Modify the line in /NavTree/menu/menu.jsp which refers to the menu file.
    String configFile="/NavTree/menu/menu.txt";       //**modify to suit**
    
  • Insert the following line into your JSP where the menu is to be displayed.
    <%@ include file="/NavTree/menu/menu.jsp" %>
    
That's it! When your JSP is next compiled, the menu will be displayed as follows:


Prerequisites
  • Unix or Microsoft Windows with web server.
  • Java 2 SDK
  • Servlet runner (Java Servlet Specification 2.3)
NavTree has been tested successfully with the following configurations:
  • Windows 2000, IIS 5, Sun JDK 1.3, Resin 2.1.4
  • Redhat Linux 7.3, Apache 2.0.39, Sun JDK 1.3, Tomcat 4.1

webtrade.net.au Pty Ltd           ABN: 19 073 922 460           Tel:(03) 9585 8100