Hi everybody
I have a servlet which is already loaded on the JWS2.0, and it is
working ok, and now I want to use it in my jsp pages;
I've been using this statement:
<jsp:include page="/servlet/dbConnection" flush="true" >
</jsp:include>
I really don't know if this is working, before I was using this
servlet I was runing the same app but with a bean and I was using these
staments:
<%@ page language="java" import="java.sql.*"
errorPage="/crisis/jsp/errorPage.jsp" %>
<jsp:useBean id="db" scope="request" class="dbUtils.DbBean" />
My corcen is, that when I wanted to use a method of my bean I had to
do it through it id, so I used db.connect(), but with this servlet I really
dont know how to acces the methods.
Does anyone have any idea ???
Thanks,
Gabriel
===========================================================================
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