Hi, I have an app built on struts 2.0.11.2, Tiles 2.0.6 and spring 2.5.5.
Everything is currently configured with xml. I wanted to start moving as
much as I could to zero configuration. The result annotations do not seem to
get recognized. I did a simple change to 1 class to see if it works and he
Hi,
i am creating my actions via Spring. This works very well. But even
though i use the "actionPackages" parameter of the FilterDispatcher,
my @Result annotations dont work. Is this a Spring integration issue
or what?
I am getting this error in the frontend:
# No result defined for acti
--- Don Brown <[EMAIL PROTECTED]> wrote:
> True...hmm...well, at the least, we should warn
> people or configure the annotation to not be able to
> be set at the method level.
I had updated the @Result anno wiki docs based on the
OP's woes, but yeah, making it a class-level
annotation would help
True...hmm...well, at the least, we should warn people or configure
the annotation to not be able to be set at the method level.
Don
On 2/9/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Don Brown <[EMAIL PROTECTED]> wrote:
> Hm...if it doesn't work on the method level, file a
> ticket as it sh
--- Don Brown <[EMAIL PROTECTED]> wrote:
> Hm...if it doesn't work on the method level, file a
> ticket as it should work that way. If nothing else
> we should document it better.
I first annotated my methods, which failed, and I was
confused, but... results are defined in the XML file
for the t
Hm...if it doesn't work on the method level, file a ticket as it
should work that way. If nothing else we should document it better.
Don
On 2/9/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Laurie Harper <[EMAIL PROTECTED]> wrote:
> > Doh! That was
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Laurie Harper <[EMAIL PROTECTED]> wrote:
> > Doh! That was the problem. I could have sworn the
> > examples I looked at had it at the method level.
> I added more on the topic [...]
And no, I didn't sneak in and change the examples ;)
d.
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Doh! That was the problem. I could have sworn the
> examples I looked at had it at the method level.
I had done the exact same thing the first time I used
annotations (hence the @Result page :) I added more on
the topic as a result of your issues and
Nate Drake wrote:
The @Result annotation should be at the class level, not the method level.
Doh! That was the problem. I could have sworn the examples I looked at
had it at the method level. Mea culpa!
Thanks,
L.
-
To un
Dave Newton wrote:
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
What do I need to do to make @Result annotations on
my action methods work?
What doesn't work/what are the symptoms? I had it
working under 2.0.4 (w/ the 2.0.4 jars, anyway) until
it seemed I wouldn't be able to use it because of
The @Result annotation should be at the class level, not the method level.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Do you have the web.xml init-param "actionPackages" listing the package
that the action is in?
/Ian
Dave Newton wrote:
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
What do I need to do to make @Result annotations on
my action methods work?
What doesn't work/what are the symptoms?
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> What do I need to do to make @Result annotations on
> my action methods work?
What doesn't work/what are the symptoms? I had it
working under 2.0.4 (w/ the 2.0.4 jars, anyway) until
it seemed I wouldn't be able to use it because of an
apparent confli
What do I need to do to make @Result annotations on my action methods
work? I'm using the code-behind and zero-config plugins, and tried to
add the annotation like this:
@Result(value = "users", type = ServletActionRedirectResult.class)
public String save() {
userService.saveUse
14 matches
Mail list logo