I feel like such an ass.
During the upgrade I must have deleted an initparam from the struts-config,
and that was why the PersistenceFacade didnt work.
Sorry for wasting your time, but thanks for the effort.
Soren
-Oprindelig meddelelse-
Fra: ch...@chrismiles.org [mailto:ch
les.org]
> Sendt: 26. maj 2010 17:15
> Til: Struts Users Mailing List
> Emne: Re: SV: PersistenceFacade
>
> This appears not to be a Struts problem, just a coincidence as it clearly
> states the problem is a null pointer exception, but I will point you to an
> partial answer any
...@chrismiles.org]
Sendt: 26. maj 2010 17:15
Til: Struts Users Mailing List
Emne: Re: SV: PersistenceFacade
This appears not to be a Struts problem, just a coincidence as it clearly
states the problem is a null pointer exception, but I will point you to an
partial answer anyway.
When closing a
This appears not to be a Struts problem, just a coincidence as it clearly
states the problem is a null pointer exception, but I will point you to an
partial answer anyway.
When closing a database connection like that you should always check that
it is not null before closing it. Why it is null I c
e contenu fourni.
> From: ch...@chrismiles.org
> Date: Wed, 26 May 2010 09:39:54 -0400
> Subject: Re: PersistenceFacade
> To: user@struts.apache.org
>
> Hi,
>
> You would need to post your strack trace and where the problem happens.
>
> Chris
>
> > Hi.
>
meddelelse-
Fra: ch...@chrismiles.org [mailto:ch...@chrismiles.org]
Sendt: 26. maj 2010 15:40
Til: Struts Users Mailing List
Emne: Re: PersistenceFacade
Hi,
You would need to post your strack trace and where the problem happens.
Chris
> Hi.
>
>
>
> I have used the following code w
n I try to login to my Struts app.
>
>
>
> Can anybody point me in the right direction.
>
>
>
> Soren, DK
>
>
>
> The Code:
>
>
>
> package nc.persistence;
>
>
>
> import java.sql.Connection;
>
> import java.sql.SQLException;
>
> import
;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.http.HttpServlet;
import java.sql.DriverManager;
public class PersistenceFacade {
//--- fields -//
public static final String CONNECTION_DRIVER
8 matches
Mail list logo