Re[2]: Using Tomcat with MSAccess

2001-08-09 Thread dkalna
Hi, check the format of inserted date field (should be #08/12/2001# for example, or #08.12.2001#). It depends on your windows regional settings. Try to printout result insert SQL and execute it in MS ACCESS as query. Dalibor __ Reply Separator

Re[2]: Running Tomcat as a Windows service

2001-08-08 Thread dkalna
Hi, just use HotSpot Server VM. It works fine for me. Dalibor __ Reply Separator _ Subject: RE: Running Tomcat as a Windows service Author: [EMAIL PROTECTED] (Richard Heintze [EMAIL PROTECTED]) at INTERNET Date:

Re: How to make a database connection in a servlet ?

2001-07-31 Thread dkalna
Here is code snipet for you: public class BaseServlet extends HttpServlet { static Connection con; public void init(ServletConfig config) throws ServletException { super.init(config); if (con == null) { String url = jdbc:odbc:odbc_name;

Re: How to make a database connection in a servlet ?

2001-07-31 Thread dkalna
I would suggest you make a standard jdbc connection in servlet which is loaded at startup and put this connection to HttpSession object for using by another servlet in your app. Be sure you have JDBC driver in your lib folder (within your web app). Another way is to use connection pooling (try

Re: Tomcat 3.2

2001-07-24 Thread dkalna
Hi, Just replace Classic VM with HotSpot Server VM. Best regards Dalibor [EMAIL PROTECTED] __ Reply Separator _ Subject: Tomcat 3.2 Author: [EMAIL PROTECTED] (Deniz Gülmez [EMAIL PROTECTED]) at INTERNET Date:

Re: socket write error

2001-07-24 Thread dkalna
hi, this is because IE is too clever and closes connection before all files (images, etc.) are served by tomcat. IE perhaps checks what files are in cache. It works with netscape and HotJava browser. rgds, Dalibor __ Reply Separator