上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: Web-safe fontsThere are about 11 fonts that are installed across almost all systems, termedweb safe fontsbecause they are safe for use in your pages. The full list is:Sans-serif: fonts without serifs: Verdana, Arial, Trebuchet MSSerif: fonts with serifs: Times new roman, GeorgiaMonospaced: fonts in 阅读全文
posted @ 2013-10-09 15:25 我的百科全书 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1 function createXHR() 2 { 3 if (typeof XMLHttpRequest != "undefined") 4 { 5 return new XMLHttpRequest(); 6 } // end if 7 else if (window.ActiveXObject) 8 { 9 var aVersions = ["MSXML2.XMLHttp.6.0", "MSXML2.XMLHttp.3.0"];10 for (var i = 0; i < aVersions.le... 阅读全文
posted @ 2013-09-27 16:00 我的百科全书 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: 到pom.xml添加log4j dependency1 log4j2 log4j3 ${log4j.version}4 到classpath下,如src/main/resources下添加log4j.properties 1 log4j.projectName=log4j-test-webapp 2 log4j.rootLogger=DEBUG, FILE 3 4 # define the appender 5 log4j.appender.FILE=org.apache.log4j.FileAppender 6... 阅读全文
posted @ 2013-08-07 11:06 我的百科全书 阅读(1207) 评论(0) 推荐(0) 编辑
摘要: http://blog.html.it/layoutgala/The Layout Galasite offers 40 different CSS designs that work in most com-mon browsers, including Internet Explorer 5 . The designs are just basic skeletonsconsisting of tags and the CSS that positions them. Allyou need to do is fill them with your own design touchesl. 阅读全文
posted @ 2013-08-04 14:34 我的百科全书 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 104 105 116 117 118 119 120 121 h1122 h2123 h1124 h2h2h1125 h1h2h2126 h1h2127 128 129 阅读全文
posted @ 2013-08-01 11:09 我的百科全书 阅读(1322) 评论(0) 推荐(0) 编辑
摘要: 拷贝对应版本的struts2-json-plugin.jar到WEB-INF/lib下为需要返回json数据的action配置json result。有两种方式可以达到这个目的在普通package中添加json result声明。package继承json-default编写action所需的类配置action。设置返回类型为json在前台请求配置的action。得到对应action的json格式字符串JsonAction.java 1 package action; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 6 .. 阅读全文
posted @ 2013-07-31 08:11 我的百科全书 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-06-10 23:11 我的百科全书 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 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 ---------------------------------------. 阅读全文
posted @ 2013-06-03 21:55 我的百科全书 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 原本全都正确的逻辑。添加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 阅读全文
posted @ 2013-06-03 11:15 我的百科全书 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://struts.apache.org/release/2.3.x/docs/debugging-struts.html方法一:Configuration Plugin步骤:添加struts2-config-browser-plugin-x.x.x.x.jar 到classpath下,如复制到WEB-INF\lib 下在浏览器访问 项目下的 config-browser/index.action 即可查看配置信息截图:方法二:Debugging Interceptor步骤:在struts.xml 中启动调试模式 <constant name="struts. 阅读全文
posted @ 2013-05-11 20:49 我的百科全书 阅读(931) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页