Struts dando pau

pessoal é o seguinte no struts-config.xml esta dando pau e não acha minha action…
ja tentei de tudo … segue o codigo…

Action:

[code]package br.com.sgdi.struts.action.regional;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class RegionalActionSearch {
public ActionForward execute(ActionMapping map, ActionForm form,
HttpServletRequest req, HttpServletResponse resp) {

	System.out.println("teste");
	return map.findForward("sucesso");
	
}

}[/code]

struts config

<action path="/ShowRegionalUpdate"
		type="br.com.sgdi.struts.action.regional.RegionalActionSearch">
			<forward name="sucesso" path="layoutCadastroRegionalUpdate" />
		</action>

mensagem de erro
HTTP Status 500 - No action instance for path /ShowRegionalUpdate could be created

type Status report

message No action instance for path /ShowRegionalUpdate could be created

description The server encountered an internal error (No action instance for path /ShowRegionalUpdate could be created) that prevented it from fulfilling this request.
Apache Tomcat/6.0.14

Quem disse que RegionalActionSearch é uma Action?

public class RegionalActionSearch {  ... }

Faltou:

public class RegionalActionSearch extends Action {  ... }

:slight_smile:
Abraço.

poxa nen tinha reparado isso
vlw mesmo
:smiley:

Falow. :wink: