"boby on nestinfotech.com" wrote:
>
> Hi,
> Sorry if this mail sounds repetitive. This is regarding your connection
> pooling program.
> I have two problems
> one is When I try to compile the servet calling the DBConnectionMAnager
> class and crreating an instance of it, it gives the message cannot find
> DBConnectionManager.class.
> However I over come this by compiling both as a single program. It
> succeeded. But on placing it in the servlet directory of the JWS and placing
> the db.properties in the class path,
I suggest you place the class files in JWS's classes directory instead of
the servlets directory, so that they are loaded by the primordial class
loader instead of the custom class loader used for servlets (the reason is
described in the article, I believe).
> I get the message, file not found(404)
> when I try to invoke it thru the browser. What can be the reason? I would be
> of great help if you can give a detailed answer.
If you get a 404 you're using an invalid URL to invoke the servlet, so it
has nothing to do with the connection pool.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
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