Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread ashish chawre
Thanks Li.. Yeh, it happens.. This trick certainly saves time. -- Ashish On Mon, Dec 6, 2010 at 4:02 PM, Li Ying wrote: > It looks like, the latest class files were not deployed to the WebApp > Context. > > Sometimes this happens. > > When you find something getting wrong, and your source code

Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread Li Ying
BTW, according to the exception message: The execute method of UserRegistrationAction IS CALLED, but some code invoked by this method raised an exception. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additiona

Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread Li Ying
It looks like, the latest class files were not deployed to the WebApp Context. Sometimes this happens. When you find something getting wrong, and your source code looks like right, Just try turn off the web app, and re-deployed your latest code again. See if it the error get fixed. Sometimes, th

Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread ashish chawre
Thanks everyone for your responses. The problem is fixed but I don't know how :).. What I did is just turn off my computer after battling with the prob, thought to take a drive and when I came back and start the application again its just working fine. I got all my records in db using the same conf

Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread Dave Newton
You might *think* it's there, but I'm pretty sure it isn't--is the correct version deployed? Are its dependencies deployed? The message is pretty explicit with regards to what's wrong. Dave On Mon, Dec 6, 2010 at 12:10 PM, ashish chawre wrote: > .

Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread ashish chawre
Thanks for the prompt reply Maurizio. I also thought the same but I checked my UserDelegates class and got add(UserDTO) declared there. In this delegate I am getting service class object trough a ServiceLocator and it seems the object is not getting created for UserService class. Please find UserR

Re: Problem in calling method from Struts.xml in struts2

2010-12-06 Thread Maurizio Cucchiara
It looks like there is something wrong in your UserDelegate class. Have you declared an add(UserDTO) method inside it? Could you post UserRegistrationAction code? 2010/12/6 ashish chawre : > Hi list, > > I am trying to call execute method of my UserRegistrationAction class but it > doesn't call t

Problem in calling method from Struts.xml in struts2

2010-12-06 Thread ashish chawre
Hi list, I am trying to call execute method of my UserRegistrationAction class but it doesn't call the method. Here is the code of my struts.xml : {1} {1} d_UserRegistrationAction LoginAction