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

advertisement

AddThis Social Bookmark Button
Article:
  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


<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.


1 to 2 of 2
1 to 2 of 2