I will split it into 3 war files.
Cheers
--------------------------------------------------
From: "Martin Gainty" <mgai...@hotmail.com>
Sent: Friday, August 21, 2009 3:35 PM
To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: RE: Hibernate3+Spring2.5+Struts2
no problem
FYI: most email agents have a 10mb attach limit so send only java,xml and
properties in compressed zip or gzip.tar
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
copie de ceci est interdite. Ce message sert à l'information seulement et
n'aura pas n'importe quel effet légalement obligatoire. Étant donné que
les email peuvent facilement être sujets à la manipulation, nous ne
pouvons accepter aucune responsabilité pour le contenu fourni.
From: bejaouiz...@hotmail.com
To: user@struts.apache.org
Subject: Re: Hibernate3+Spring2.5+Struts2
Date: Fri, 21 Aug 2009 15:00:44 +0100
hi wes,
I have changed the code but still have the same exception, would you min
if
I send you my whole code maybe you can find out the problem?
cheers,
--------------------------------------------------
From: "Wes Wannemacher" <w...@wantii.com>
Sent: Thursday, August 20, 2009 7:44 PM
To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: Re: Hibernate3+Spring2.5+Struts2
> On Thu, Aug 20, 2009 at 12:38 PM, Zied Bejaoui<bejaouiz...@hotmail.com>
> wrote:
>> Thanks for the help guys.
>>
>> change User usr= userService.getUser(username);
>> to User usr=userServiceImp.getUser(username);
>>
>> userService is a UserServiceImp instance--> UserServiceimp
>> userService.
>>
>
> You were on the right track before, you just want the following in your
> class -
>
> ->snippet
> private UserService userService;
>
> public void setUserService(UserService userService) {
> this.userService = userService;
> }
> <- end snippet
>
> I am curious if it's 'userService' that is null... This would mean
> that your action isn't being wired with the service from Spring. I
> snipped all the previous messages from this email, so i can't look
> through it for you, but I will say that this sort of thing is
> generally a simple property misspelling or some other detail (decimal
> point? I always mess up some mundane detail). If it's username that is
> null, you might want to check that your form is properly setup in your
> JSP.
>
> -Wes
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.windowslive.com/Desktop/PhotoGallery
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org