案例实现效果 用户在前端输入验证码,按键收起触发异步验证,验证验证码的对错 前端代码 checkcode.jsp [java] view plain copy print?<% Created by IntelliJ  ...
分类:
Web程序 时间:
2018-02-13 13:26:51
阅读次数:
260
Markdown - Syntax # Cmd Markdown 简明语法手册 标签: Cmd-Markdown ### 1. 斜体和粗体 使用 * 和 ** 表示斜体和粗体。 示例: 这是 *斜体*,这是 **粗体**。 ### 2. 分级标题 使用 表示一级标题,使用 表示二级标题。 示例: ` ...
分类:
其他好文 时间:
2018-02-12 20:07:16
阅读次数:
181
在开发JavaWeb应用时,动态生成能够局部刷新的验证码是一项必须的功能,在这里我们将会详细的讲解如何实现这一功能。 一、涉及技术 该功能需要用到AJAX异步传输技术,这样能保证在点击“看不清,重新获取验证码”按钮时,能够不刷新页面其它内容而局部刷新验证码图片内容。 还需要用到Servlet技术,这 ...
分类:
Web程序 时间:
2018-02-12 18:50:45
阅读次数:
265
接口体现的是一种实现和规范分离的设计哲学,利用接口可以降低程序各个模块之间的耦合性,从而提高系统的可扩展性和可维护性。 其中一种模式是简单工厂模式。 设想一个场景,一台Computer要有一组输出设备。一般有两种解决方案,一种是直接与输出设备耦合,及直接组合一个Printer,这样 Computer ...
分类:
其他好文 时间:
2018-02-11 23:38:58
阅读次数:
176
数据结构是什么? 维基百科说: Data structure(https://en.wikipedia.org/wiki/Data_structure) In computer science, a data structure is a particular way of organizing a ...
分类:
其他好文 时间:
2018-02-11 21:27:39
阅读次数:
146
绘图原理(1)Component类提供了两个和绘图相关最重要的?法:1、 paint(Graphics g)绘制组件的外观2、 repaint()刷新组件的外观当组件第?次在屏幕显示的时候,程序会?动的调paint()来绘制组件 绘图原理(2)在以下情况paint()将会被调?:1、窗?最小化,再最 ...
分类:
编程语言 时间:
2018-02-11 16:16:45
阅读次数:
212
A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools t ...
分类:
Web程序 时间:
2018-02-11 12:25:41
阅读次数:
204
Java End-of-file by Shafaet Problem Submissions Leaderboard Discussions Editorial Java End-of-file by Shafaet Java End-of-file by Shafaet Java End-of- ...
分类:
编程语言 时间:
2018-02-09 20:49:37
阅读次数:
337
传送门 二分,正反都扫一遍不连续K个不符条件即可 ...
分类:
其他好文 时间:
2018-02-08 20:23:38
阅读次数:
427
Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. All what they ...
分类:
其他好文 时间:
2018-02-08 19:59:01
阅读次数:
157