Hi. I'm trying to call a database access bean through a JSP. (the search field is irrelevent it's referencing to a controlling servlet) I get the following error: C:\bea\user_projects\infologic1\.\myserver\.wlnotdelete\extract\myserver_BibleApp_BibleApp\jsp_servlet\__menu.java:146: cannot resolve symbol probably occurred due to an error in /menu.jsp line 27: Enumeration.categoryIds = categories.keys();
Here's my code: menu.jsp -------------------------------- <%@page import="java.util.*"%> <jsp:useBean id="DbBean" scope="application" class="showMeItNow.DbBean"/> <% String base = (String) application.getAttribute("base"); %>
Well, I see a couple of statements you may have a an issue with: 1. When you do get the menu(menu.jsp) page to display your link(s), it will not work because there is space after the "? ". It should be "?action=browseCatalog". 2. I am assuming your setting and creating your showMeItnow.DbName inside your controller servlet. But anyway it appears you are generating some type of SQLException error in your Try block code. You are handling the exception by passing back a reference to an empty Hashtable. This is why your menu page is blank. This section of code requires more debugging. Craig.