can anybody tell me what's wrong with this code:
if commented this bean everything works fine
<jsp:useBean id="sqldb" class="database.SQLBean" scope="session"/>
the compiled bean is okay and put in
Connection bean = \WEB-INF\beans\asri\ConnectionBean.class
SQLBean = \WEB-INF\beans\database\SQLBean.class
Thanks
sample code:
=========
<%response.setContentType("text/vnd.wap.wml");%>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml>
<%@ page import="java.sql.*" errorPage="ErrorPage.jsp" %>
<jsp:useBean id="connection" class="asri.ConnectionBean" scope="session"/>
<jsp:useBean id="sqldb" class="database.SQLBean" scope="session"/>
<wml>
<card id="flight" title="Flight">
<!-- some coding here -->
</card>
</wml>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets