[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: Re: java.lang.InstantiationException:
From: Sandy143 <sjavahelp () gmail ! com>
Date: 2008-04-30 22:16:17
Message-ID: 16992734.post () talk ! nabble ! com
[Download RAW message or body]
Let me be clear then ...
I am trying to migrate from struts1.2 to struts2.
I did all the required configuration. I could get the login page.
LoginActionForm is extending ValidatorActionForm. I defined an interceptor
for it in struts.xml. Validation is form based.
BUT when I enter username and password and click submit... it throws me this
error :
[Servlet Error]-[org.apache.struts.action.ActionForm]:
java.lang.InstantiationException: org.apache.struts.action.ActionForm
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1263)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:123)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:154)
.....
I have the required jars.... Please let me know how I can take care about
the validations during migration.
Thanks,
--
View this message in context: \
http://www.nabble.com/java.lang.InstantiationException%3A-org.apache.struts.action.ActionForm-tp16986858p16992734.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic