码迷,mamicode.com
首页 >  
搜索关键字:unable to find veloc    ( 26357个结果
Yii 丢失controller ID问题
用YII很久了今天看老代码发现了一个致命又气人的bug: “'SiteController cannot find the requested view "index". ” 在这个项目里对应的views/site/index.php文件都有,但是为什么还报了这个错呢, 于是开始看内核代码: public function getViewFile($viewName) { if(($t...
分类:其他好文   时间:2014-05-01 21:59:39    阅读次数:454
jQuery获取Select选择的Text和 Value
jQuery获取Select选择的Text和Value: 语法解释: 1. $("#select_id").change(function(){//code...});   //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected").text();  //获取Select选择的Text ...
分类:Web程序   时间:2014-05-01 17:38:42    阅读次数:420
SQL Developer 4.0 启动报错“unable to create an instance of the java virtual machine located at path”
安装了Oracle之后,第一件事情就是想想怎么去连接,进而操作。SQL Developer是官方提供的强大工具,个人看来也是第一选择。目前官网提供的最新版是4.0.1.14.48,下载下来之后,就跃跃欲试了。将下载下来的包解压,直接运行sqldeveloper.exe这个文件,选择了本地安装的JDK...
分类:数据库   时间:2014-05-01 13:27:12    阅读次数:477
js跨域post请求
1 function funPostBack(srvMethod){ 2 /* 3 var contentNR=$(document.getElementById("reportFrame").contentWindow.document).find("#conte...
分类:Web程序   时间:2014-05-01 12:58:08    阅读次数:643
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-05-01 08:35:40    阅读次数:443
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3....
分类:其他好文   时间:2014-04-29 13:47:20    阅读次数:251
Use UMDH to identify memory leak problem
We sometimes got memory leak problem, and we need to find the leaked memory, Here is a useful tool from MS, UMDH, it is included in WinDBG install package. Here is a introduction on how to UMDH to identify memory leak problems...
分类:其他好文   时间:2014-04-29 13:38:21    阅读次数:374
hdu 2141 Can you find it?
Can you find it? Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 9863    Accepted Submission(s): 2587 Problem Description Give you...
分类:其他好文   时间:2014-04-29 13:33:20    阅读次数:300
【Bug笔记】Unable to load configuration. - Class: java.net.AbstractPlainSocketImpl
最近出了一件怪事,在联网状态下启动Tomcat和没有联网状态下启动Tomcat会出现两种不同的结果:正常启动和报错 于是自己纠结了半天,查找原因是struts.xml中配置的声明方式,我用的jar是struts-2.1.8.jar,而我引用的是2.3的(这个声明方式在互联网上拷贝的,因为参考的是互联网的一些代码例子,往往这里就出错了),它没有在本地形成struts-2.3.dtd文件,所以只有在...
分类:编程语言   时间:2014-04-29 13:22:21    阅读次数:502
Velocity在web项目中生成模板
需求:后台(指管理员后台)上传一个html模板到文件服务器上,前台(商家操作的平台)读取到模板,并填充数据,生成新的vm页面到webapp/WEB-INF/view目录下,用于预览、保存、打印。 最开始的代码: @Test public void test() throws Exception{ String templateUrl = baseServic...
分类:Web程序   时间:2014-04-29 13:11:21    阅读次数:465
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!