Article:
  A Custom JSP Tag Library for Dynamic Menus
Subject:   all the files there?
Date:   2003-04-10 09:04:39
From:   anonymous2
the war archive seems to be missing the xml and jdbc example jsp files...
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • all the files there?
    2003-04-10 15:17:16  anonymous2 [View]

    The .war file contains menu.xml in the WEB-INF/classes/menu/ folder. Please copy the file
    to the folder specified in the menu.jsp. Here is the code that uses JDBC

    <HTML>
    <HEAD><TITLE>Test program </TITLE>

    </HEAD>
    <BODY>
    <%@ taglib uri="/WEB-INF/menu.tld" prefix="menu" %>
    <menu:renderMenuFromDB driverName="oracle.jdbc.driver.OracleDriver"
    driverUrl = "jdbc:oracle:thin:@xxxx:1521:xxxx"
    userName="xxxx"
    password="xxx"/>
    </BODY>
    </HTML>

    Please change xxx with your values.