RE: Struts1 Plugin to Struts2

2010-10-01 Thread Raghuveer V
Yes Dave, I want to implement Struts2 specific. Application context listener will be called before application and struts.xml configurations. I want to do it from struts.xml rather then from web.xml. How would it be if I create custom interceptor and use init and destroy for this. I will no

Re: Struts1 Plugin to Struts2

2010-10-01 Thread Dave Newton
An application context listener--that way it's not S2-specific. Dave On Fri, Oct 1, 2010 at 5:03 AM, Raghuveer V wrote: > I have scenarios of few activities during application startup and shutdown > in struts1 application which need to be used in struts2 application. > > > > Example: > > Below s

Re: Best Practices for handling of XSS attacks

2010-10-01 Thread Dave Newton
An interceptor seems like a reasonable solution. Why don't you want to use HDIV? Dave On Fri, Oct 1, 2010 at 3:15 AM, Pars Man wrote: > Hi, > > I am currently checking the web to find something about how to handle XSS > attacks in my Struts2 application. > Unfortunately I just cannot find anyth

Struts1 Plugin to Struts2

2010-10-01 Thread Raghuveer V
I have scenarios of few activities during application startup and shutdown in struts1 application which need to be used in struts2 application. Example: Below struts2 plug-in needs to be used in struts2. Any best thoughts of implementing this. Regards, Raghu

Best Practices for handling of XSS attacks

2010-10-01 Thread Pars Man
Hi, I am currently checking the web to find something about how to handle XSS attacks in my Struts2 application. Unfortunately I just cannot find anything. I do not want to use HDIV (http://www.hdiv.org/) or the HDIV-Plugin (https://cwiki.apache.org/S2PLUGINS/home.html). What I thought of is a