I can't see any reference to the listbean property in your JSP. And also in the Action I can't see any initialization of listbean.
Johannes JavaNoobie wrote: > > I have made the necessary changes , and have got rid of the error.Now ,I'm > being able to access the addupDomain function .However , I guess I'm > missing something fundamental as I'm not being able to insert into the > database, as the control is being passed to the ERROR page each time and > there is no value being inserted . > I found that that the bean --"listbean" being created in the addupDomain > function of action(DomainAction1.java) class is being set with a null > value and as a result the ERROR page is being executed .Please help as to > how i can overcome this issue . Thanks > > > Johannes Geppert wrote: >> >> You return an result of type ERROR in your DomainAction1 action. >> The problem is, this result is not defined in your struts.xml. >> >> Example: >> >> <action name="obtainData" class="com.vivek.struts2.action.DomainAction1" >> method="obtainData"> >> <result name="success">/jsp/interface.jsp</result> >> <result name="error">/jsp/interfaceError.jsp</result> >> </action> >> >> >> Johannes >> >> > > ----- --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/Struts-2-Error%3ASEVERE%3A-Could-not-find-action-or-result-tp31112825p31113207.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org