actionTag class code is as follows :
package com;
import com.opensymphony.xwork2.ActionSupport;
public class actionTag extends ActionSupport {
public String execute () throws Exception {
return SUCCESS;
}
}
struts.xml code below:
!
The question now is: struts.xml file
------ Solution ------------------------------------ --------
"- / / Apache Software Foundation / / DTD Struts Configuration 2.3 / / EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<-! user registration - >
struts.xml configured wrong ! ! ! !
没有评论:
发表评论