Have you tried adding a <result name="success"> to your action definition?
Matt On 9/13/07, tibi <[EMAIL PROTECTED]> wrote: > > i use 2.0m5 struts2 spring2 hibernate > > sometimes i have the following problem > i have an action in my struts.xml > with name succes. > i go to the url of the action and get the error message can't find succes. > > when i change the name of the action all is fine. > example: > <action name="candidate" class="candidateAction"> > <result>/WEB-INF/pages/employee/searchCandidateForm.jsp</result> > <result name="search" type="redirect">candidate.html</result> > <result > name="select">/WEB-INF/pages/employee/searchCandidateResult.jsp</result> > <result > name="edit">/WEB-INF/pages/employee/candidateForm.jsp</result> > <result name="match" > type="redirect">matchCandidate.html</result> > </action> > > url > /candidate.html > > error: > [incipio-match] ERROR [btpool0-3] Dispatcher.serviceAction(515) | Could > not find action or result > No result defined for action > nl.incipio.match.webapp.action.CandidateAction and result success > > i change it to: > <action name="candidate2" class="candidateAction"> > <result>/WEB-INF/pages/employee/searchCandidateForm.jsp</result> > <result name="search" type="redirect">candidate.html</result> > <result > name="select">/WEB-INF/pages/employee/searchCandidateResult.jsp</result> > <result > name="edit">/WEB-INF/pages/employee/candidateForm.jsp</result> > <result name="match" > type="redirect">matchCandidate.html</result> > </action> > url > /candidate2.html > > works fine. > > there is no other candidate action in my struts.xml... > is there some zero config in the way?? > > > thanks > > tibi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
