Re: NoSuchMethodException: while struts action method call ?

2014-06-25 Thread Mohit Gupta
Thanks Lukasz. I am already doing that. I found issue was parameters were passed twice with same name. removed extra one. Its working fine. On Tue, Jun 24, 2014 at 1:12 PM, Lukasz Lenart wrote: > Struts2 filter isn't used during FORWARD, you must explicite configure > it to do so: > > > st

Re: NoSuchMethodException: while struts action method call ?

2014-06-24 Thread Lukasz Lenart
Struts2 filter isn't used during FORWARD, you must explicite configure it to do so: strits2 /* REQUEST FORWARD 2014-06-23 13:17 GMT+02:00 Mohit Gupta : > Actually when i am redirecting from legacy action to > customer/customer-creater!create.action?custId=200, struts > 2 success

Re: NoSuchMethodException: while struts action method call ?

2014-06-23 Thread Mohit Gupta
Actually when i am redirecting from legacy action to customer/customer-creater!create.action?custId=200, struts 2 successfully does type conversion but not while forwarding the request to same url though same struts2 filter comes in to picture. Any ideas what the issue ? On Mon, Jun 23, 2014 at

Re: NoSuchMethodException

2008-09-18 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, fantastic. I've watched this code for ours but not seen that. Thanx a lot :) ~ Volker Dave Newton schrieb: | --- On Thu, 9/18/08, Volker Karlmeier wrote: |> I'm sorry that my answer is coming quit late, but I |> came back from work soon. Her

Re: NoSuchMethodException

2008-09-18 Thread Dave Newton
--- On Thu, 9/18/08, Volker Karlmeier wrote: > I'm sorry that my answer is coming quit late, but I > came back from work soon. Here's my code : > > _*struts.xml:*_ > ~[...] > ~ class="net.magiccode.houseman.action.RentalObjectAction" > method="{1}"> > ~ name="para

Re: NoSuchMethodException

2008-09-18 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Lukas, I'm sorry that my answer is coming quit late, but I came back from work soon. Here's my code : _*struts.xml:*_ http://struts.apache.org/dtds/struts-2.0.dtd";> ~ ~ ~ ~ ~value="globalMessages, navigation.propert

Re: NoSuchMethodException

2008-09-18 Thread Lukasz Lenart
Could you post some more details? Action code, config, the full stack trace? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NoSuchMethodException: $Proxy18.find()

2007-03-06 Thread abpicol
Another way to grant this to work is make the Action implement an interface that has the desired method. So, ... create an interface ... interface I1 { String find(); } ... in your Action class declaration ... class MyStrutsAction implements I1 extends ActionSupport { ... } WHY TH

Re: NoSuchMethodException: $Proxy18.find()

2007-03-06 Thread Paul Benedict
Congrats! Adam Ruggles wrote: I found the solution to this and I wanted to post it on the list. adding proxy-target-class="true" fixes it. proxy-target-class="true" /> Adam Ruggles wrote: Creating a service object seems to have worked. Now I'm going to have to re-think using action support

Re: NoSuchMethodException: $Proxy18.find()

2007-03-05 Thread Adam Ruggles
I found the solution to this and I wanted to post it on the list. adding proxy-target-class="true" fixes it. proxy-target-class="true" /> Adam Ruggles wrote: Creating a service object seems to have worked. Now I'm going to have to re-think using action support. This project is not complicat

Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Adam Ruggles
Creating a service object seems to have worked. Now I'm going to have to re-think using action support. This project is not complicated enough to warrant another layer. Thanks for your help. Paul Benedict wrote: Adam, I have never seen anyone attach Spring transactional logic to an action

[OT] Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Dave Newton
--- Paul Benedict <[EMAIL PROTECTED]> wrote: > I have never seen anyone attach Spring transactional > logic to an action, and called DAOs straight from the > action. That's not good practice, because it mashes > web, business, and data layers all in one place. Here's my question/comment: to me it

Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Adam Ruggles
I'll give that a try, thanks. Paul Benedict wrote: Adam, I have never seen anyone attach Spring transactional logic to an action, and called DAOs straight from the action. That's not good practice, because it mashes web, business, and data layers all in one place. I wouldn't blame struts h

Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Paul Benedict
Adam, I have never seen anyone attach Spring transactional logic to an action, and called DAOs straight from the action. That's not good practice, because it mashes web, business, and data layers all in one place. I wouldn't blame struts here (yet). I'd first move your code into a service ob

Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Adam Ruggles
Yes, I tried both methods. For whatever reason when I extend ActionSupport it no longer works. Dave Newton wrote: Does it do the same thing if you don't explicitly declare the bean (put the classname directly in the struts.xml file)? Just curious... I don't have direct experience with what yo

Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Dave Newton
Does it do the same thing if you don't explicitly declare the bean (put the classname directly in the struts.xml file)? Just curious... I don't have direct experience with what you're doing. --- Adam Ruggles <[EMAIL PROTECTED]> wrote: > Ok I think I found the problem. If I remove the > "extends

Re: NoSuchMethodException: $Proxy18.find()

2007-02-25 Thread Adam Ruggles
Ok I think I found the problem. If I remove the "extends ActionSupport" it works without any problems. I know "extends ActionSupport" works with Webwork 2, is this a bug or a change in implementation? Adam Ruggles wrote: I am following the guide here http://cwiki.apache.org/S2WIKI/struts-2-s