RE: Struts, spring integration while using struts annotations

2012-02-28 Thread Puneet Babbar 2
Thanks for replying to my post, I have already checked that link but still no clue as to how to make spring plugin work with the convention plugin. Suppose I have an Action - @Action("/login-page") public class LoginPage extends ActionSupport { public LoginPage(){ }

Re: Struts, spring integration while using struts annotations

2012-02-28 Thread Steven Yang
check this http://struts.apache.org/2.0.8/docs/spring-plugin.html you can use spring along with the annotation in the convention-plugin such as @Action, etc On Tue, Feb 28, 2012 at 6:01 PM, Puneet Babbar 2 wrote: > Hi, > > I am using struts annotations with my applications, I need to add spring

Re: struts2-jquery-plugin: form submit returns twice the submit and textfield

2012-02-28 Thread Dave Newton
You update the div with the same jsp as the form, so you're adding the page to itself. d. (pardon brevity and typos, on cell) On Feb 28, 2012 6:44 PM, "Mounir Benzid" wrote: > Here's a simple enough example of how to use the tag available in > the struts2-jquery plugin (v 3.2.1) > http://www.w

struts2-jquery-plugin: form submit returns twice the submit and textfield

2012-02-28 Thread Mounir Benzid
Here's a simple enough example of how to use the tag available in the struts2-jquery plugin (v 3.2.1) http://www.weinfreund.de/struts2-jquery-showcase/index.action Well what I get though is somehow mysterious (to me). The first time when I call the action [1] given by its URL http://localho

Re: Security Vulnerability When Using SessionAware and Best Practice For Mitigating It

2012-02-28 Thread bphill...@ku.edu
Lukasz - I agree with you, but until a new version of Struts 2 is released that includes a fix for this vulnerability, I'd like to tell Struts 2 developers what to do when implementing the SessionAware interface to mitigate the vulnerability. If you could look over what I wrote in the initial post

Re: Maven repository and struts2-jquery-plugin

2012-02-28 Thread Łukasz Lenart
jQuery Plugin is available from Central http://code.google.com/p/struts2-jquery/wiki/FAQ#How_can_I_use_the_Plugin_from_Maven? Regards -- Łukasz Mobile +48 606 323 122 Office +27 11 0838747 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ --

Maven repository and struts2-jquery-plugin

2012-02-28 Thread Mounir Benzid
Hi, please point me to a maven repo with the latest jq-plugin release I only have this link on google code: http://code.google.com/p/struts2-jquery/downloads/detail?name=struts2-jquery-plugin-3.2.1.jar Thanks! cheers - Mounir ---

How to implement alternate error messages in the Struts validation framework. (Struts 2.0.1.4)

2012-02-28 Thread joann luo
Hello, I am currently using the Struts2 validation framework for my project. I have Struts 2.0.14. I have been trying to find a way to display alternate error message through validator framework. I tried two things. 1. I added a bundle attribute in the following code in the web.xml but

Re: [Struts2] session variable empty in the JSP

2012-02-28 Thread Samuel Robert
I have tried but it did not help. I have tried also by defining the action as a bean and populating the "context" bean in the Spring configuration file (with the Struts Spring plugin). But the same error comes. I guess I will pursue with my solution of redirecting to another action on the first ca

Re: Security Vulnerability When Using SessionAware and Best Practice For Mitigating It

2012-02-28 Thread Łukasz Lenart
I think we should simply implemented what was mentioned in WW-3631 to solve that potential vulnerability Kind regards -- Łukasz Mobile +48 606 323 122 Office +27 11 0838747 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ ---