Could you provide your exception stacktrace? On 10 March 2011 09:51, JavaNoobie <vivek...@enzentech.com> 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 .Please help > > > 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 >> >> > > -- > View this message in context: > http://old.nabble.com/Struts-2-Error%3ASEVERE%3A-Could-not-find-action-or-result-tp31112825p31113198.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 > >
-- Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org