Makes sense:
"doOnCallUpdateScreen" !=
"doOncallUpdateScreen"...
(notice the capitalization - this is a very common gotcha)
~Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert Whelan NesTek Development Corp.
Software Engineer 6780 Pittsford-Palmyra Rd.
[EMAIL PROTECTED] Fairport, NY 14450
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: Kelsey Fedde [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 12, 1999 10:28 AM
To: [EMAIL PROTECTED]
Subject: a method question
I am working on a first effort servlet to get information from a db2 table.
I have
used a cut and paste servlet from a redbook and modified it. I had numerous
errors in the beginning but think I have it narrowed down to one major
error I can't figure out. When I compile under USS, i get an error in
reference to
this code below
JDBCServlet.java:90: Method
doOnCallUpdateScreen(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.sql.Statement) not found in
class JDBCServlet.
doOnCallUpdateScreen(req,res,stmt);
***************************************
this is the string of code that is
Statement stmt = con.createStatement();
doOnCallUpdateScreen(req,res,stmt);
stmt.close();
con.close();
}
catch(SQLException e)
{
out.println("Error:");
out.println(e.toString());
}
out.close();
}
public void doOncallUpdateScreen(HttpServletRequest req,
HttpServletResponse res,
Statement stmt)
throws ServletException,IOException
{
******************************************
any help, thanks!!!!
-Kelsey
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html