- 浏览: 240991 次
-
最新评论
-
xryy001:
...
AES加密时抛出java.security.InvalidKeyException: Illegal key size or default parameter -
springdata_springmvc:
bootstrap demo实例教程源代码下载:http:// ...
Bootstrap css修正 -
2047699523:
bootstrap demo实例教程源代码下载:http:// ...
Bootstrap table -
andinyg:
因开发使用的jdk7,其他版本不能解决问题,找了下
jdk7下 ...
AES加密时抛出java.security.InvalidKeyException: Illegal key size or default parameter -
zouzaibianyuan:
...
Listener Servlet
文章列表
如何修改Eclipse的 workspace目录
Eclipse是一款很强的Java IDE,我们在开始的时候,往往设定了默认的workspace,当用久在之后,我们可能要去更改一下workspace的位置,但是在启动的时候已经不会显示更改了。下面有几种方法可以更改workspace的目录。
1、进入 Window > Preferences > General > Startup and Shutdown 选中 Prompt for workspace on startup。
2、进入Eclipse的安装目录,找到configuration ...
来源:http://qiqicartoon.com/?p=816
事件模型对于javascript程序员来说太重要了!如果你的javascript中找不到attahEvent或addEventListener的话,那我觉得真的有点太荒唐了(某些项目应该没有事件驱动)。
毫无疑问深入理解事件模型将使你的 ...
来源:http://www.ibm.com/developerworks/cn/web/wa-lo-json/
JAVA中的转义字符
来源:http://blogold.chinaunix.net/u2/66172/showart_531175.html
原来JAVA中转义字符就很简单的四种:
1.八进制转义序列:\ + 1到3位5数字;范围'\000'~'\377'
\0:空字符
2.Unicode转义字符:\u + 四个十六进制数字;0~65535
\u0000:空字符
3.特殊字符:就3个
\":双引号
\':单引号
\\:反斜线
4.控制字符:5个
\' 单引号字符
\\ 反斜杠字符
\r 回车
\n 换行
\ ...
http://oracle.chinaitlab.com/install/351299.html
-- Change the HTTP/WEBDAV port from 8080 to 8081
call dbms_xdb.cfg_update(updateXML(
dbms_xdb.cfg_get()
, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
, 8081))
/
-- Change the FTP port from 210 ...
http://www.cnblogs.com/yayagepei/articles/894666.html
http://hi.baidu.com/hyqcw/blog/item/bc859718c55e15b94aedbcab.html
将这个公式稍微改一下,就能生成完整的条码了:
=B24*10+RIGHT(SUM(LEFT($B24,{0,1}+{1;3;5;7;9;11})*{9,7}))
http://xiayuanfeng.iteye.com/blog/334406
spring3.0使用annotation完全代替XML
來源:http://www.iteye.com/topic/740301
<context:annotation-config/>
@Autowired, @Required
<context:component-scan base-package="org.example"/>
spring 便会在org.example以及它的子package中查找所有的类,将符合条件的Bean注册在IoC容器当中
@Component, @Serivce, @Controller, @Reposi ...
1.@SuppressWarnings("serial")
关闭了类或方法级别的编译器警告
serial:连续的;多次的
一次用unchecked,多次用serial,亦可并用
@SuppressWarnings({"unchecked","serial"})
2.@SuppressWarnings("unused")
JDK5.0后的新特性,你在使用IDE如eclipse的时候,当你定义了一个变量如int a=0;但是你后面根本就没有使用到这个变量,这一行的前面会有一个黄色的警告标志,你将鼠标移动到上面会提示 ...
常见Pointcout
1.NameMatchMethodPointcut
NameMatchMethodPointcut pointcut =new NameMatchMethodPointcut();
pointcut.setMappedName("matches");
//或多个方法
pointcut.setMappedNames(new String[]{"matches","isRuntime"});
2.JdkRegexpMethodPointcut、Perl5RegexpMethodPointcut
Jd ...
来源:http://blog.sina.com.cn/s/blog_3ff3946a01009k95.html
Spring是根据类别名称与方法名称来定义Pointcut(具体的时间),当呼叫的类别与方法名称符合Pointcut的定义时,将Advice(aspect的实例)缝合至应用程式上以提供服务。
Spring的Pointcut是透过实作org.springframework.aop.Pointcut介面来实现,其定义如下:
package org.springframework.aop;
public interface Pointcut {
ClassFilter getClas ...
我寫的測試:
public interface BusinessProcessor {
public void processBusiness();
}
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
public class BusinessProcessorHandler implements InvocationHandler {
private Object target = null;
BusinessProcessorHandler(Object targe ...
本人学习ext已有一段时间,将我的学习项目贴出来供大家参考
主程序参考ext官方网站的ext的window范例
main.jsp
<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import="org.acegisecurity.context.SecurityContext, org.acegisecurity.userdetails.UserDetails" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD H ...
谈谈Listener Servlet的应用
作者:刘晓华 发文时间:2004.11.23
Listener 是Servlet的监听器,它可以监听客户端的请求、服务端的操作等。通过监听器,可以自动激发一些操作,比如监听在线的用户的数量。当增加一个 HttpSession时,就激发sessionCreated(HttpSessionEvent se)方法,这样就可以给在线人数加1。常用的监听接口有以下几个:
# ServletContextAttributeListener监听对ServletContext属性的操作,比如增加、删除、修改属性。
# ServletCont ...
- 2005-03-25 09:42
- 浏览 2872
- 评论(1)