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:   jdbcmenu.jsp error
Date:   2004-06-28 13:49:58
From:   sumanish
I created the table HIERARCHYMENU from menu.sql file.


http://localhost:8080/menu-example/jdbcmenu.jsp
gives me the following error..please help. THanks


exception


javax.servlet.ServletException: Unable to Print the Menu.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.jdbcmenu_005fyardi_jsp._jspService(jdbcmenu_005fyardi_jsp.java:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)



root cause


java.lang.Error: Unable to Print the Menu.
menu.MenuTag.doEndTag(Unknown Source)
org.apache.jsp.jdbcmenu_005fyardi_jsp._jspx_meth_menu_renderMenuFromDB_0(jdbcmenu_005fyardi_jsp.java:93)
org.apache.jsp.jdbcmenu_005fyardi_jsp._jspService(jdbcmenu_005fyardi_jsp.java:64)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)



1 to 1 of 1
  1. jdbcmenu.jsp error
    2004-07-01 02:54:24  Dazzler [View]

1 to 1 of 1