Re: Struts 2 instance creation in memorey

2009-03-16 Thread musomesa
but the actions are thread safe. Hope that helps. Cheers Chris Mawata -Original Message- From: Sumit Agarwal <2005.su...@gmail.com> To: user@struts.apache.org Sent: Mon, 16 Mar 2009 9:26 pm Subject: Re: Struts 2 instance creation in memorey Well i have one doubt regar

Re: Struts 2 instance creation in memorey

2009-03-16 Thread Sumit Agarwal
Well i have one doubt regarding interceptor and value stack:- i have read interceptor can store and read the data from value stack.well if interceptor is defined in the stack.as per below answer one stack will be create for interceptor and two instance(for two request) for value stack then in th

RE: Struts 2 instance creation in memorey

2009-03-07 Thread Martin Gainty
l.com > To: user@struts.apache.org > Subject: Re: Struts 2 instance creation in memorey > > > Thanks Mr Dave for your good explanation.I agreed by your explanation. > > > Well i wanna ask you one more question. > > In Struts1 we were having one Front servlet name as Ac

Re: Struts 2 instance creation in memorey

2009-03-07 Thread Dave Newton
Sumit Agarwal wrote: in Struts2 we are having DispatcherFilter instead of Servlet.is there any advantage using filter instead of Servlet? I don't know how much of an advantage there is. This topic has been brought up several times; searching the Struts or WebWork archives might provide some

Re: Struts 2 instance creation in memorey

2009-03-07 Thread Sumit Agarwal
Thanks Mr Dave for your good explanation.I agreed by your explanation. Well i wanna ask you one more question. In Struts1 we were having one Front servlet name as ActionServlet but i have noticed in Struts2 we are having DispatcherFilter instead of Servlet.is there any advantage using filter in

Re: Struts 2 instance creation in memorey

2009-03-07 Thread Dave Newton
Sumit Agarwal wrote: we are given 2 request for this application from different system > at a time.As per Struts2 two Action instance will be created right? Correct: unlike servlets or Struts 1 actions, Struts 2 actions are created per-request. I wanna know how many value stack instance wil