--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> Yes I have tried, but as I previously said, this is the STRUTS2
> Spring plugin that is causing this behaviour NOT Spring.
> 
> More details:
> 
> I have a ModelDrive action.
> In my JSP, I have the tag:
>         <s:textfield name="person.name" />
> 
> In some situations when we call the action we create a new model,
> which does not have a person. In this case, the plugin tries to
create
> a new person so that it can set the name.
> 
> I do not want it to do this.

What, specifically, leads you to believe this is a Spring issue?

Do you have a bean defined with the "person" (or "model", I suppose?)
name such that Spring is aware of it and would try to instantiate it
and inject it into your action?

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to