ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  A Custom JSP Tag Library for Dynamic Menus
Subject:   all the files there?
Date:   2003-04-10 15:17:16
From:   anonymous2
Response to: all the files there?

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

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

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

Please change xxx with your values.

1 to 2 of 2
1 to 2 of 2