如下,2个action
public class StrutsAction implements Action {
public String execute()
{
System.out.println("这是action");
return SUCCESS;
}
}
public class Test implements Action {
public String execute()
{
System.out.println("这是action");
return SUCCESS;
}
}
struts.xml配置如下
/show.jsp
/show.jsp
但是输入http://localhost:8080/struts/test和http://localhost:8080/struts/struts还有http://localhost:8080/struts/struts.action来访问都是404,显示no action mapped for action named for struts...........
求指点