1.进入jdk/lib目录,执行: mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dpackaging=jar -Dversion=1.7 -Dfile=tools.jar -DgeneratePom=true 2.加入依赖 <dependency> ? ? <group...
                            
                            
                                分类:
系统相关   时间:
2014-08-19 16:57:45   
                                阅读次数:
229
                             
                    
                        
                            
                            
                                @RequestMapping(method=RequestMethod.POST,value = "/upload") public ModelAndView processImageUpload(@RequestParam(value="groupname",required=fal...
                            
                            
                                分类:
其他好文   时间:
2014-08-19 14:27:24   
                                阅读次数:
210
                             
                    
                        
                            
                            
                                Edit Distance
 
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operati...
                            
                            
                                分类:
其他好文   时间:
2014-08-18 20:35:02   
                                阅读次数:
206
                             
                    
                        
                            
                            
                                Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)...
                            
                            
                                分类:
其他好文   时间:
2014-08-18 16:21:57   
                                阅读次数:
148
                             
                    
                        
                            
                            
                                #!/bin/bash ### BEGIN INIT INFO # # Provides: location_server # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_f...
                            
                            
                                分类:
系统相关   时间:
2014-08-18 16:03:02   
                                阅读次数:
280
                             
                    
                        
                            
                            
                                Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t...
                            
                            
                                分类:
其他好文   时间:
2014-08-18 12:20:34   
                                阅读次数:
148
                             
                    
                        
                            
                            
                                1.首先导入jar包放入lib目录下: hibernate3.jar
lib\jpa\hibernate-jpa-2.0-api-1.0.0.Final.jar
lib\required\antlr-2.7.6.jar
lib\required\commons-collections-3.1.jar
lib\required\dom4j-1.6.1.jar
lib\re...
                            
                            
                                分类:
其他好文   时间:
2014-08-17 18:42:22   
                                阅读次数:
228
                             
                    
                        
                            
                            
                                首先要下载好hibernate文件包然后新建项目:1.导入jar包(打开下载好的文件包,找到lib文件下的required文件包,里面有jar包)注意:初学者可以暂时copy一下代码。2.新建一个class文件,内容如下:public class Person {//类的属性	private Int...
                            
                            
                                分类:
系统相关   时间:
2014-08-17 18:28:42   
                                阅读次数:
296
                             
                    
                        
                            
                            
                                1、从标记创建datebox2、使用javascript创建datebox. $("#dd").datebox({ required:true }); 3、如果给input单纯的设置readonly 属性是不能生效的,以下为解决方案:$(".datebox :text").attr(...
                            
                            
                                分类:
其他好文   时间:
2014-08-17 12:59:32   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                装饰器模式可以在不影响其他对象的情况下,以动态、透明的方式给单个对象添加职责,也能够处理那些可以撤销的职责。经常用于日志记录、性能测试等场合。想象一下这个很常见的场景,你写了一个方法只提供给以登陆的用户访问(事实上我也是通过django的@login_required才了解到@修饰符的),你可以写以...
                            
                            
                                分类:
编程语言   时间:
2014-08-16 13:45:20   
                                阅读次数:
269