摘要:
Windows 系统安装多个版本JDK, 修改环境变量不生效 阅读全文
摘要:
Java 读取文件的内容 1) CLASS_NAME: 换成自己真实的类名 2) /page/test.json: 换成自己真实的page 3) FileUtils: 来自于org.apache.commons.io.FileUtils(org.apache.commons) 阅读全文
摘要:
// format json obj string function format_json(txt, compress) { var indentChar = ' '; if (/^\s*$/.test(txt)) { //alert('txt is empty'); return ''; } try { ... 阅读全文
摘要:
阅读全文
摘要:
1问题:js get browser vertion (js获取浏览器信息版本)2解决方案CopythisscriptintoyourJavaScriptfiles.Itworksimmediately,andyoucanquerythreepropertiesof theBrowserDetectobject:Browsername:BrowserDetect.browserBrowserversion:BrowserDetect.versionOSname:BrowserDetect.OSvarBrowserDetect={init:function(){ this.browser=th. 阅读全文
摘要:
1.问题:Errors occurred during the build. Errors running builder 'JavaScript Validator' on project2.解决: 步骤: 1) 选择项目. 2)右键, 点击[Properties]. 3) 点击[Builders],取消右面的[JavaScript Validator]. 阅读全文
摘要:
BeanUtil.ConversionException问题: 1:[DEBUG] [2013-05-08 13:41:53,421] [21593]ms [http-8080-1] [org.apache.commons.beanutils.converters.DateConverter#handleMissing#L313] - [ Throwing ConversionException: No value specified for 'Date'][DEBUG] [2013-05-08 13:41:53,421] [21593]ms [http-8080-1] [or 阅读全文
摘要:
j2ee 获取上下文环境问题:1.不访问服务,如何获取上下文环境?解答:1.通过在web里面配置servlet来解决。1.1 web.xml1 <servlet>2 <servlet-name>GetContext</servlet-name>3 <servlet-class>com.ge.context.GetContext</servlet-class>4 <load-on-startup>1</load-on-startup>5 </servlet>1.2GetContext.java 1 p 阅读全文
摘要:
java.lang.ExceptionInInitializerError问题:1.java.lang.ExceptionInInitializerError1.1问题描述Exception in thread "Timer-0" java.lang.ExceptionInInitializerError at com.service.impl.basicdoc.MobileNoServiceImpl.buildFile(MobileNoServiceImpl.java:110) at com.timer.MyTimerTask.run(MyTimerTask.java:4 阅读全文
摘要:
jQuery日期时间控件问题:1.jQuery操作时间的控件解答:1.1 1.<link href="timepicker-addon.css" rel="stylesheet" type="text/css" />2 <script language="javascript" src="jquery-ui-timepicker-addon.js" type="text/javascript"></script>3 2.<s:text 阅读全文