struts module switching issue. SwitchAction

2010-09-06 Thread tito
Hi guys, I was hoping if anyone cud help me with struts SwitchAction. I am using struts 1.1 and scaffold. I have two modules, customer and utilities. I am switching an action from * struts-config-utilities.xml* to *struts-config-customer.xml* , the jsp in customer module is loaded and the bean

Re: Avoid Phishing in Struts Applications plugin

2010-09-06 Thread Oscar
Ok, i got it. Thanks so much for the info. 2010/9/6 Dale Newfield > Examples of why SiteKey really isn't sufficient: > http://antivirus.about.com/b/2010/03/23/bank-of-america-sitekey-scam.htm > > http://www.aviransplace.com/2007/02/05/study-finds-bank-of-america-sitekey-is-flawed/ > (As well as

Re: Avoid Phishing in Struts Applications plugin

2010-09-06 Thread Dale Newfield
Examples of why SiteKey really isn't sufficient: http://antivirus.about.com/b/2010/03/23/bank-of-america-sitekey-scam.htm http://www.aviransplace.com/2007/02/05/study-finds-bank-of-america-sitekey-is-flawed/ (As well as the fact that it's possible for a phishing site to use the same provided ID t

Re: Avoid Phishing in Struts Applications plugin

2010-09-06 Thread Dale Newfield
On 9/6/10 11:42 AM, Oscar wrote: anti-phishing mehcanism into the application If I understand what people generally refer to as phishing, it's someone else making pages appear enough like yours to fool the customers, but with the submitted data going to a third party. As such, there's not a

Avoid Phishing in Struts Applications plugin

2010-09-06 Thread Oscar
Hi to all. I'm working in a project for Bank using Struts 2.1.8 and i have to implement an anti-phishing mehcanism into the application, but i don't know where to start. I understand the basics of phishing but i never applied to a project. Do you know if in Struts exists something like a security p

Re: URL "format" advice

2010-09-06 Thread Greg Akins
Thanks Dale and Jordi; I started using a Filter to determine, but hadn't seen the wildcard mapping. That looks like just what I was looking for. On Mon, Sep 6, 2010 at 9:28 AM, Dale Newfield wrote: > On 9/6/10 6:27 AM, jordi wrote: >> >> You can do that with wildcard mappings. I'm using Advanced

Re: WG: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-06 Thread Dale Newfield
On 9/6/10 8:06 AM, Nicolas Kopp wrote: Sorry for interrupting again, but it seems that its even easier without the Scope plugin. What we did right now is just to implement preparable Which is why someone earlier suggested the params-prepare-params technique. It allows you to have lots of va

Re: URL "format" advice

2010-09-06 Thread Dale Newfield
On 9/6/10 6:27 AM, jordi wrote: You can do that with wildcard mappings. I'm using Advanced wildcard mappings with regex... check it out http://struts.apache.org/2.x/docs/wildcard-mappings.html Especially if you couple that with the Url Rewrite Filter. http://www.tuckey.org/urlrewrite/ -Dale

WG: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-06 Thread Nicolas Kopp
Sorry for interrupting again, but it seems that its even easier without the Scope plugin. What we did right now is just to implement preparable like this: public class UpdateProfileAction extends ActionSupport implements ServletRequestAware, SessionAware, Preparable{ .. } and added an overri

Re: URL "format" advice

2010-09-06 Thread jordi
You can do that with wildcard mappings. I'm using Advanced wildcard mappings with regex... check it out http://struts.apache.org/2.x/docs/wildcard-mappings.html jordi On Wed, Aug 25, 2010 at 4:46 PM, Greg Akins wrote: > I need to implem

AW: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-06 Thread Nicolas Kopp
Hey, it seems that using the Scope plugin described by Rahul here fits best for our uses in this case.: " I use the scope plugin ( https://cwiki.apache.org/S2PLUGINS/scope-plugin.html) for this. A bit heavy on the session memory, but suits my purpose. Put @InOut annotation on your model wit

AW: How do I get wibble[0][something]=blah to parse into an action?

2010-09-06 Thread Nicolas Kopp
Hi Andy, maybe you forgot to initialize the ArrayList as a new Object in the setter? try this: public void setWibble(ArrayList> wibble) { this.wibble = new ArrayList>(); this.wibble = wibble; } Maybe worth a try. Not tested. Cheers, Nico -Ursprün

Re: struts2 annotations

2010-09-06 Thread Hantsy Bai
于 2010/9/6 16:31, Daniel Rindt 写道: Am Montag, den 06.09.2010, 13:55 +0800 schrieb Hantsy Bai: Use convention plugin[1] please, it is shipped with struts2 dist package. [1]https://cwiki.apache.org/confluence/display/WW/Convention%20Plugin Thanks for the reactions, but after using the convention

Re: struts2 annotations

2010-09-06 Thread Daniel Rindt
Am Montag, den 06.09.2010, 13:55 +0800 schrieb Hantsy Bai: > Use convention plugin[1] please, it is shipped with struts2 dist > package. > [1]https://cwiki.apache.org/confluence/display/WW/Convention%20Plugin Thanks for the reactions, but after using the convention plugin, i am not able to use the