So, I have a jsp form that uses:

<s:textfield name="user.name"/> and things like that.

The action's method for getUser provides an IUser (an interface).

The instantiated class is provided by a dao provider injected by Spring, but
all the jsp sees is the IUser type.

Now, it works great getting the form generated, but when submitting, I get:

2009-03-06 10:54:48,315 [http-8080-Processor24] ERROR
com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler - Could not
create and/or set value back on to object
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'com.blah.auth.IUser': Could not resolve matching constructor
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstr
uctor(ConstructorResolver.java:238)

Any suggestions?  Google is not helpful, strangely enough.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to