form中的action的默认路径就是当前路径,?? 而struts中的action 的path属性默认路径为根路径,所以要加上所在的文件夹得路径。 还不是太懂
String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServer ...
String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServer ...