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
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
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
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
--- 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
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
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
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
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
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
I am following the guide here
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
For some reason when trying to map a method other than execute I recieve
the following error:
- Servlet.service() for servlet default threw exception
java.lang.NoSuchMethodException: $Proxy18.find()
B
11 matches
Mail list logo