1、path 常使用绝对路径
path = request.getContextPath();
basepath = request.getscheme+"://"+request.getServerName+":"+request.getServerPort+path
<base href="<%=basePath%>"/>
2、动态方法
test.action!add
add的返回值是String
1、path 常使用绝对路径
path = request.getContextPath();
basepath = request.getscheme+"://"+request.getServerName+":"+request.getServerPort+path
<base href="<%=basePath%>"/>
2、动态方法
test.action!add
add的返回值是String