Thanks a lot for giving me proper direction.
I solved it by changing the bean scope from default 'singleton' to
'prototype' as suggested in the struts2-spring-jpa-ajax tutorial at
http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html
Thanks again..
-Rushikesh
On Mon, Mar 10, 2008 a
* - In 2.0+ isn't the default scope singleton?*
Yes, the deafault scope is singleton (Only one instance for the class ).
You can change the scope fo your beans to request or session but also you
nedd to add some configuration to your web.xml.
Are you using ModelDriven interface?.
On Mon, Mar 10
--- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote:
> Not doing much in the applicationContext.xml file:
>
>
>
class="no.bbs.webservice.mapp.client.web.action.PutArchiveObject">
>
>
- Is that an action definition?
- What version of Spring?
- In 2.0+ isn't the default scop
Not doing much in the applicationContext.xml file:
On Mon, Mar 10, 2008 at 5:50 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote:
> > Yes, I am using Spring ObjectFactory.
>
> Okay.
>
> Are you configuring your actions in the
--- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote:
> Yes, I am using Spring ObjectFactory.
Okay.
Are you configuring your actions in the Spring config file? If so, *please*
include how they're being configured.
Dave
-
To unsubsc
sorry, missed out the second question:
I mean, I have instantiated Action properties while declaring them.
public class PutArchiveObject extends ActionSupport implements SessionAware
{
private Map session;
private Head head = *new Head();*
private String parentObjectRef *= new String
Yes, I am using Spring ObjectFactory.
On Mon, Mar 10, 2008 at 5:13 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote:
> > Can anyone tell me how long is the value of Action Property held on the
> > ValueStack. I am asking this b'coz I am facing a problem
--- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how long is the value of Action Property held on the
> ValueStack. I am asking this b'coz I am facing a problem:
Normally an action is created for each request and pushed onto the stack.
Without knowing more about how your appl
setup the mutator and accessor in your Action classes)
Martin
- Original Message -
Wrom: OWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZ
To: "Struts Users Mailing List"
Sent: Monday, March 10, 2008 8:12 AM
Subject: Clearing Action properties from ValueStack
> Hi Group,
>
oh..forgot...set its value to 'none'
Adrian Ost schrieb:
hi,
not sure if this is really what you're problem is about, but adding
the parameter "includeParams" to the struts url-tag solved my problem
of having the old value + my new value send on resubmitting.
greets,
adrian
Rushikesh Thakkar
hi,
not sure if this is really what you're problem is about, but adding the
parameter "includeParams" to the struts url-tag solved my problem of
having the old value + my new value send on resubmitting.
greets,
adrian
Rushikesh Thakkar schrieb:
Hi Group,
Can anyone tell me how long is the va
Hi Group,
Can anyone tell me how long is the value of Action Property held on the
ValueStack. I am asking this b'coz I am facing a problem:
Background:
My action has 4 members (and getter,setter for them). One of them is a POJO
with many properties. So my JSP has different fields for supplying va
12 matches
Mail list logo