06 2013 档案
摘要:1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>page init</title> 5 <script> 6 function init() 7 { 8 alert("init on load"); 9 }10 11 window.onload = init;12 </script>13 </head>14 15 <body>16 <h1>init page on load</h1>17 </bo
阅读全文
摘要:Struts Problem ReportStruts has detected an unhandled exception: Messages: goWebIndexAction Invalid action class configuration that references an unknown class named [goWebIndexAction] File: org/apache/catalina/loader/WebappClassLoader.java Line number: 1,358 ---------------------------------------.
阅读全文
摘要:原本全都正确的逻辑。添加interceptor后显示如下错误。Caused by: 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*)".原因是struts的dtd定义中对package定义为:package(result
阅读全文