41、使用struts2的标签:org.apache.jasper.JasperException: /sum.jsp(24,4) According to TLD or attribute directive in tag file, attribute action does not accept any expressions
原因:在form表单写请求的路径的时候不能够像普通的表单那样加上${basepath}
42、使用struts2的标签:后台No result defined for action com.action.OneFormManySubmit and result success,页面上404路径错误
可能的一个原因:对应的submit按钮没有配置method属性或是配置有错误
43、启动Tomcat出现java.net.BindException:Address already in use:JVM_Bind
解决方式:
1.把myeclipse关掉后台的javaw.exe进程杀掉(建议使用) 2. 修改端口号
44、java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream
原因:缺少架包commons-io-1.3.2.jar
45、org.xml.sax.SAXParseException: The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)"
原因:在struts2的配置文件中,package中的参数配置顺序必须为:result-types、interceptors、default-interceptor-ref、default-action-ref、default-class-ref、gobal-results、global-exception-mappings、action*