Hello,
I am using Struts2-Spring-Hibernate in my web application.
I have configured the Struts-Spring plugin to make the Spring framework load
the action classes. I am facing a problem with the non-execute (do*) methods in
my action classes.
In my applicationcontext.xml, if I do not specify an
Integration Issue
2009/2/14 Sundararaman, Anand :
> It seems to me that I will never be able to use the Struts non-execute (do*)
> methods, if I integrate with Spring. I need Spring Framework since it helps a
> lot with hibernate calls.
>
> Would anyone be able to guide me, if I am mi
Hi,
Here are the files. I have just pasted only the contents to highlight the
problem. The CreateUserAction has two methods, execute() and doActivateUser().
The execute is called for "saveUser" action. The doActivateUser() is called for
"activateUser" action. If I specify the scope=prototype, t
Hi,
Here are the files. I have just pasted only the contents to highlight the
problem. The CreateUserAction has two methods, execute() and doActivateUser().
The execute is called for "saveUser" action. The doActivateUser() is called for
"activateUser" action. If I specify the scope=prototype, t
Issue
2009/2/14 Sundararaman, Anand :
>
> /jsp/user/useractivated.jsp
> /jsp/user/login.jsp
>
>
That's really strange, did you try to use method="doActivateUser" ?
Regards
--
L
st
Subject: Re: Struts2-Spring Integration Issue
2009/2/14 Sundararaman, Anand :
>
> /jsp/user/useractivated.jsp
> /jsp/user/login.jsp
>
>
That's really strange, did you try to use method="doActiv
: Struts Users Mailing List
Subject: Re: Struts2-Spring Integration Issue
2009/2/15 Sundararaman, Anand :
> No it did not work with that change as well.
>
> Initially I was getting a "NoSuchMethodException" on the method activateUser
> in the action class. Now after the change you s
Hi Dale and Wes,
I am the original poster. But I did get a lot of information in this
discussion.
I will like to explain my original issue again.
In my Struts2- Spring2 application, I had configured the struts2-Spring plugin
and made Spring initialize all the action classes etc. Basically I
Hi,
I want to redirect to another action but preserve the action messages/errors
from the previous action. Is there any standard way to achieve this
functionality in Struts 2? Or do I have to write an Interceptor for this?
I have a use case where the errors on a web screen needs to be shown o
during redirect action
Glindholm solved this with an interceptor.
http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/
Best regards,
Felipe
On Fri, Feb 27, 2009 at 1:12 PM, Sundararaman, Anand
wrote:
> Hi,
> I want to redirect to another action but pr
Hi,
I guess there is an elegant solution for this but I could not find out in the
user list.
I am using Struts 2 and creating some form validations. If a validation fails
on a JSP screen, the input result takes back the control to the same screen,
but the drop downs are not populated. I nee
failure populating the drop downs
Populating the dropdowns in an input() method that returns Action.INPUT
should do the trick.
jk
On Mon, Mar 2, 2009 at 1:19 PM, Sundararaman, Anand <
anand.sundarara...@ps.net> wrote:
> Hi,
> I guess there is an elegant solution for this but I could
Hi,
Is there any struts-dojo-tags example available which shows the
implementation of the modal popup feature. I do have examples from dojo
toolkit, but it would be helpful to know how to make use of the struts dojo
tags.
Thanks in advance.
Anand
13 matches
Mail list logo