xml配置文件里面写:
<action
path="/business/pay/checkAdslAction"
scope="request"
input="/"
name=""
type="com.xxx.user.checkAdslAction">
那么在jsp的from的action里就要:
String action = "/projectName/business/pay/checkAdslAction.do";
记得两者的差别在于,jsp里面要写上项目名projectName和最后面加个.do。