Your action mapping has class="mainpage", but your Spring configuration
has id="mainpageAction". These should be the same. I'm not quite sure
how you're getting the error you are, though, based on that
configuration. And I don't see how introducing an @Result annotation
would effect it. I suspe
lterDispatcher.doFilter(FilterDispatcher.java:419)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the
JBossWeb/2.0.1.GA logs.
JBossWeb/2.0.1.GA
--
View this message in context:
http://www.nabble.com/In
So what *is* the problem? Is Spring not loading the action? Is Struts
not finding the action? Something else? The code/configuration you've
posted looks basically OK.
L.
georgievh wrote:
Sorry for the misleading.
I have a constructor.
The class is actually as follows:
package com.gbsoft.be
is.message = message;
}
}
--
View this message in context:
http://www.nabble.com/Initializing-Actions-from-Spring-tp16377674p16384701.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [
truts2.views.tiles.TilesResult;
>
> import com.opensymphony.xwork2.ActionSupport;
>
>
>
> @Result(
> name="success",
> value="mainpage.page",
> type=TilesResult.class)
> public class MainpageAction exten
essage;
}
}
--
View this message in context:
http://www.nabble.com/Initializing-Actions-from-Spring-tp16377674p16384249.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAI
: Saturday, March 29, 2008 9:15 PM
Subject: Initializing Actions from Spring
Hi,
I am trying to initialize Struts2 Actions from Spring.
I have done this successfully using struts2 xml configuration files.
However, I did not have the same success when using annotations.
Could anyone please explain
s message in context:
http://www.nabble.com/Initializing-Actions-from-Spring-tp16377674p16377674.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
Whoops, hit 'send' too soon.
Until the change is propagated you can get to the page
by going to the regular spring plugin page:
http://struts.apache.org/2.x/docs/spring-plugin.html
d.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spa
--- wolverine my <[EMAIL PROTECTED]> wrote:
> The page is not found when we clicked on
> "Initializing Actions from
> Spring" from
>
http://struts.apache.org/2.x/docs/why-would-we-want-to-create-action-objects-from-the-spring-configuration.html
>
> Do you
tp://cwiki.apache.org/S2PLUGINS/spring-plugin.html#SpringPlugin-InitializingActionsfromSpring
wolverine my wrote:
> Hi!
>
> The page is not found when we clicked on "Initializing Actions from
> Spring" from
>
http://struts.apache.org/2.x/docs/why-would-we-want-to-create-action
Looks like this is where it is trying to go
http://cwiki.apache.org/S2PLUGINS/spring-plugin.html#SpringPlugin-InitializingActionsfromSpring
wolverine my wrote:
Hi!
The page is not found when we clicked on "Initializing Actions from
Spring" from
http://struts.apache.org/2.x/docs/wh
Hi!
The page is not found when we clicked on "Initializing Actions from
Spring" from
http://struts.apache.org/2.x/docs/why-would-we-want-to-create-action-objects-from-the-spring-configuration.html
Do you have any idea of what could be t
13 matches
Mail list logo