My DB Bean source code is:
package xbook.common ;
import java.lang.* ;
import java.sql.* ;
import javax.servlet.* ;
public class SQLBridge {
private ConnPool connPool ;
private Connection conn ;
private ResultSet rs ;
private ResultSetMetaData rsmd ;
private
1. You did not properly set up your classpath. Check the Tomcat
documentation
for more details. That should be something like
setenv CLASSPATH = /usr/local/tomcat/lib;/some/other/path
2. You did not import any library which supports DBPool. Check again your
sample code, its
hmmm, look like u got a path-problem, check out if u set them correctly
greetings
md
--
Sent through GMX FreeMail - http://www.gmx.net
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some
PROTECTED]
Subject: Re: DB Bean
More specifically, take your result set and place it
in a collection
and pass the collection to the JSP. (Check the
archive for exactly how)
- Original Message -
From: Tasneem [EMAIL PROTECTED]
Date: Thursday, November 2, 2000 1:16 pm
Subject: Re: DB
://archives.java.sun.com/archives/jsp-interest.html
- Original Message -
From: deepak gupta [EMAIL PROTECTED]
Date: Saturday, November 4, 2000 2:01 am
Subject: Re: DB Bean
i am very new to the list.
can some one tell me how to get the archive download.
deepak gupta
--- Mutahar Qayum [EMAIL
tahar Qayum" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 03, 2000 5:30 AM
Subject: DB Bean
Do anyone have any example Database bean that return resultset to JSP
code.
thanx regards
===
To unsubscri
can you send me the code.
thanks
-Original Message-
From: Tasneem [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 1:17 PM
To: [EMAIL PROTECTED]
Subject: Re: DB Bean
Yes i have but what exactly is your problem
You simply have to create the connection in your bean and call
More specifically, take your result set and place it in a collection
and pass the collection to the JSP. (Check the archive for exactly how)
- Original Message -
From: Tasneem [EMAIL PROTECTED]
Date: Thursday, November 2, 2000 1:16 pm
Subject: Re: DB Bean
Yes i have but what exactly
can you send me example code?
-Original Message-
From: T A Flores [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 3:32 PM
To: [EMAIL PROTECTED]
Subject: Re: DB Bean
More specifically, take your result set and place it in a collection
and pass the collection to the JSP
to post the code you can take the time to get it for
yourself (not to be rude or anything).
- Original Message -
From: Mutahar Qayum [EMAIL PROTECTED]
Date: Friday, November 3, 2000 4:24 pm
Subject: Re: DB Bean
can you send me example code?
-Original Message-
From: T A Flores
Do anyone have any example Database bean that return resultset to JSP code.
thanx regards
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
well, I just wrote some JSP stuff that returns info from a database with JDBC if
that'll help any.
-Daniel
Mutahar Qayum wrote:
Do anyone have any example Database bean that return resultset to JSP code.
thanx regards
where is the stuff u wrote?
- Original Message -
From: Daniel Lynn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 03, 2000 9:15 AM
Subject: Re: DB Bean
well, I just wrote some JSP stuff that returns info from a database with
JDBC if
that'll help any.
-Daniel
13 matches
Mail list logo