Hello,
I have a struts2 action that is having some parameters set by the
parameter interceptor. If I go to a second browser / computer and
call the action I am seeing the same values on the Action that were
previously set. Is this the normal behavior? Is there a way to turn
it off? Do
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Make sure you set scope="request" on your Spring action beans or it
> will create only one instance of the bean and reuse it forever.
Is that better than setting scope="prototype"?
d.
--
--- Ted Slusser <[EMAIL PROTECTED]> wrote:
> Yes.
You've already solved the problem, but:
(1) You only need to define your actions explicitly if you're wiring them
manually.
(2) Normally action beans are configured to the "prototype" scope (the
current Spring plugin docs [1] are for Spring versio
> On Jan 18, 2008, at 1:17 PM, Chris Pratt wrote:
>
> >> On Jan 18, 2008, at 1:02 PM, Dave Newton wrote:
> >>> --- Ted Slusser <[EMAIL PROTECTED]> wrote:
> I have a struts2 action that is having some parameters set by the
> parameter interceptor. If I go to a second browser / computer an
Great. thanks. That worked once I added this to the web.xml
org.springframework.web.context.request.RequestContextListener
Does it 'throw away' objects per request? Is this a performance
concern? What about object pooling, etc. I suppose it's easier to
throw it away rather than
Dave Newton wrote:
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
Dave Newton wrote:
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
Make sure you set scope="request" on your Spring action beans or it
will create only one instance of the bean and reuse it forever.
Is that better than setting scope="
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Dave Newton wrote:
> > --- Chris Pratt <[EMAIL PROTECTED]> wrote:
> >> Make sure you set scope="request" on your Spring action beans or it
> >> will create only one instance of the bean and reuse it forever.
> >
> > Is that better than setting scope="
--- Ted Slusser <[EMAIL PROTECTED]> wrote:
> I have a struts2 action that is having some parameters set by the
> parameter interceptor. If I go to a second browser / computer and
> call the action I am seeing the same values on the Action that were
> previously set. Is this the normal behav
Yes.
On Jan 18, 2008, at 1:02 PM, Dave Newton wrote:
--- Ted Slusser <[EMAIL PROTECTED]> wrote:
I have a struts2 action that is having some parameters set by the
parameter interceptor. If I go to a second browser / computer and
call the action I am seeing the same values on the Action that we
> On Jan 18, 2008, at 1:02 PM, Dave Newton wrote:
> > --- Ted Slusser <[EMAIL PROTECTED]> wrote:
> >> I have a struts2 action that is having some parameters set by the
> >> parameter interceptor. If I go to a second browser / computer and
> >> call the action I am seeing the same values on the Act
Dave Newton wrote:
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
Make sure you set scope="request" on your Spring action beans or it
will create only one instance of the bean and reuse it forever.
Is that better than setting scope="prototype"?
Equivalent in this case AFAIK, since Struts will cr
11 matches
Mail list logo