`
文章列表
java.sql.SQLWarning: ORA-28002: the password will expire within 4 days 登陆oracle 11g 提示ERROR:ORA-28002: the password will expire within 7 days 告警信息:  ERROR: ORA-28002: the password will expire within 7 days 原因分析: ? SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD ...
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
Hello.Android.3rd.Edition 源代码
Android SQLite实例
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds 双击tomcat,会出现tomcat 配置 视图 更改Timeouts下的start选项就OK了
项目目录 下载附件应用,导入eclipse,运行App类
项目目录结构 下载附件,直接导入eclipse,maven install 生成war包,部署到tomcat http://localhost:8080/mycxf/helloWorld?wsdl 运行客户端测试类 HelloServiceClient
大家可以下载直接导入eclipse, maven install 项目结构 maven生成war包放到tomcat webapp下面 http://localhost:8080/Sample/cxftest/Login?wsdl

SiteMesh

    博客分类:
  • Web
SiteMesh是一个轻量级灵活的Java web应用框架,它应用了四人帮(Gang of Four)的装饰模式允许内容和表现有一个清晰的分离 SiteMesh is a lightweight and flexible Java web application framework that applies the Gang of Four decorator pattern to allow a clean separation of content from presentation. Work with the simple content of your website and ha ...
hadoop 见附件
开始--运行--cmd 进入命令提示符 输入netstat -aon 即可看到所有连接的PID 之后在任务管理器中找到这个PID所对应的程序如果任务管理器中没有PID这一项,可以在任务管理器中选"查看"-"选择列" 经常,我们在启动应用的时候发现系统需要的端口被别的程序占用,如何知道谁占有了我们需要的端口,很多人都比较头疼,下面就介绍一种非常简单的方法,希望对大家有用 假如我们需要确定谁占用了我们的80端口 1、Windows平台 在windows命令行窗口下执行: C:\>netstat -aon|findstr "80&qu ...
试试CSDN的搬家功能

代码的味道

    博客分类:
  • Java
什么时候需要Refactoring? 代码的味道是高水平程序员对“好程序“的一种感觉,他们具备一种能力,即使不涉及程序代码的具体实现就能看出你的设计是否合理。 如果代码有“异味“,那么你需要进行Refactorying. 1.重复代码(Du ...
作者:Joshua Bloch ... 2  How to Design a Good API and Why it Matters Why is API Design Important? • APIs can be among a company's greatest assets   Customers invest heavily: buying, writing, learning   Cost to stop using an API can be prohibitive   Successful public APIs capture customers • Ca ...
今天一个朋友问我js如何传递多个参数,他有一个func(n) 我说直接func(m,n)就可以,他说不行,js我也不太熟,网上找个小例子测试一下 现在前端js比较火,也应该学习下js 创建一个文件,然后改成a.html 在里面写上下面代码就可以了 <script language="JavaScript"> <!-- function showstr(a,b,c,d){ alert(a); alert(b); alert(c); alert(d); } //--> </script> <a href= ...
Global site tag (gtag.js) - Google Analytics