1. 有一个简单的需求就是如何使页面上的一个图片内容实现实时刷新; 什么意思呢?这样一个场景: 页面上有一个图片,src指向后台的一个图片链接,如名为test.jpg的图片。图片本身为后台实时产生更新的,如新浪股票信息走势图片。每一秒的图形都可能在变化。如何使页面实现这样的动态更新?简单的办法就是: var img = document.getElementById("test"); img['src'] = imgurl; 通过set ...

    阅读全文
  2. Oracle SOA Business Events简介。 官方文档(Using Business Events and the Event Delivery Network):https://docs.oracle.com/html/E10224_05/obe_intro.htm You can raise business events when a situation of interest occurs. For example, in a loan flow scenari ...

    阅读全文
  3. 本文是学习Spring Testing官方文档的知识点摘要。官方文档:https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#testing 关键词:Mock Objects, TestContext Framework, Spring MVC Test, WebTestClient   1. Introduction to Spring Testing ...

    阅读全文
  4. HttpClient Examples Response handling This example demonstrates how to process HTTP responses using a response handler. This is the recommended way of executing HTTP requests and processing HTTP responses. This approach enables the caller t ...

    阅读全文
  5. MySQLFull-Text Search功能学习摘要 全文搜索三种模式: 自然语言模式(Natural Language Full-Text Searches) 布尔模式(Boolean Full-Text Searches) 查询扩展模式(Full-Text Searches with Query Expansion) 使用全文搜索方法: #创建表格 CREATE TABLE FT_Supportable_Table (name ...

    阅读全文
  6. Apache Common Logging(JCL)简介可以参考官网的用户手册。 官方User Guide文档入口: http://commons.apache.org/proper/commons-logging/guide.html JCL简介: Jakarta Commons Logging (JCL)提供的是一个日志(Log)接口(interface),同时兼顾轻量级和不依赖于具体的日志实现工具。它提供给中间件/日志工具开发者一个简单的日志操作抽象,允许程 ...

    阅读全文
  7. CKEDITOR使用起来很简单,与很多JS UI控件一样,首先定义DOM,然后调用其function.其中有个基本方式就是通过Class来替换textarea. 例如:先创建一个textarea,给其设置一个Class,如content-editor <textarea class="content-editor" name="Content"></textarea> 然后再执行CKEDIROT函数。 ...

    阅读全文
  8. CSS中的定位position理解 页面元素定位,浮动,以及z-index的属性的使用是页面设计中经常使用。正确使用它们可以设计出层次感十足的页面。但是往往在使用中确常有疑惑: 1. 定位时left,top,right,bottom如何设置,设置多大的值为好?百分比设置效果如何?响应式页面中如何使用? 2. 如何正确设置z-index?z-index设置什么情况下设置无效? 3.float,static,和定位之间的层次关系? 4. 在相对定位(position:r ...

    阅读全文
  9. Phrasal verbs Phrasal verbs - 动词词组 某些动词与特定的介词相搭配,就会具有完全不同于动词本意的新意思。这些动词和介词的组合就叫做动词词组。   例如: I ran for two hours last night.   (我昨天晚上跑了两个小时。)   I ran into a friend last night. ...

    阅读全文
4142