If you're getting a NullPointerException, or any Exception for that matter,
just look in logs where the error is printed and it'll show you exactly
where in
your code it happened (class and line number).
That's why I like to have error messages redirected to the browser (and not
to
a log) so I'll instantly now when I go to the page what's wrong (during
development, that's it).
[ Matthias Carlsson ]
[ Programmer (Java, CGI/Perl, Javascript, HTML) ] [ Web Designer ]
[ E-Mail : [EMAIL PROTECTED] ] [ ICQ: 1430647 ]
> -----Ursprungligt meddelande-----
> Fran: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology. [mailto:[EMAIL PROTECTED]]For Abhay
> Skickat: den 23 december 2000 04:08
> Till: [EMAIL PROTECTED]
> Amne: Re: Apache Tomcat PostgreSQL jdk
>
>
> I have never worked with the combination you are using, but I
> think , null
> pointer exception is being thrown in the initial stages of the servlet
> code. You should try to catch the exception and see what it is.
> May be , the
> your drivers are not supporting some methods like say Statements or
> statement.setNull(index,value) etc.
>
> Abhay
>
> ----- Original Message -----
> From: NSB) $B3^>> (B <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, December 22, 2000 10:32 AM
> Subject: Apache Tomcat PostgreSQL jdk
>
>
> > I am developing a web application using
> > Apache,Tomcat3.1,PostgreSQL7.0.2,and jdk1.2.2.
> > It seems that servlet-DB connection does not work .Browser warns
> > document has no data and contact to administrator.
> > With Apache,Tomcat3.1,jdk1.2.2,servlet works right.
> > With PostgreSQL,do I need to set anything for Apache or/and Tomcat?
> > Thanks in advance.
> >
> > [EMAIL PROTECTED]
> >
> >
> __________________________________________________________________
> _________
> > 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
>
___________________________________________________________________________
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
- Apache Tomcat PostgreSQL jdk NSB)笠松
- Re: Apache Tomcat PostgreSQL jdk Abhay
- Re: Apache Tomcat PostgreSQL jdk Matthias Carlsson
- Re: Apache Tomcat PostgreSQL jdk S.A.Pamungkas
