- 浏览: 115603 次
- 性别:
- 来自: 广州
最新评论
-
Kevin_jiang2011:
能直接在,代码里面配置吗?
Spring+CXF配置HTTP代理访问Internet -
xbiji:
不能用啊!!!!!!!!!!!!!!!!!!!!!!1
JQuery获取页面高度,页面宽度,窗口高度,窗口宽度 -
ben_liang:
# <http-conf:proxyAuthoriza ...
Spring+CXF配置HTTP代理访问Internet -
navy0168:
package com;import java.io. ...
解压缩
文章列表
转自:http://www.iteye.com/topic/50414
private String processFileName(String fileName,String agent) throws IOException{
String codedfilename = null;
if (null != agent && -1 != agent.indexOf("MSIE")){
String prefix = fileName.lastIndexOf(".")!=-1?fileName.substring(0,file ...
转:http://hi.baidu.com/%D2%E4%C1%D6%D7%D3/blog/item/c5b7834591ae562bcffca3ed.html
@echo off
call :s
c:
cd %ALLUSERSPROFILE%\%d%\
for /f "tokens=1 skip=18" %%A in (
'more %0'
) do (
SETLOCAL ENABLEDELAYEDEXPANSION
set min=1
set max=99999
set /a mod=!max!-!min!+1
set tmpValue=%%A
s ...
@echo off
setlocal enabledelayedexpansion
for %%i in (*) do set name=%%i&&ren %%i !name:~1!.jpg
http://zhxing.iteye.com/blog/541059
http://zhxing.iteye.com/blog/541060
http://zhxing.iteye.com/blog/541062
struts-default.xml里面配置各种跳转类型
带参数跳转
<result name="subject_list" type="chain" >
<param name="namespace">/admin/subject/admin</param>
<param name="actionName">Com_list</param>
<param name="methodName">Com_l ...
过滤返回数据
包含
<result name="select" type="json">
<param name="includeProperties">
titleSelect,
titleSelect\[\d+\]\.id,
titleSelect\[\d+\]\.title
</param>
</result>
去除
<result type="json">
<param name="excludePro ...
http://zmx.iteye.com/blog/648733
http://nrbk-live-cn.iteye.com/blog/277589
转自:http://blog.sina.com.cn/s/blog_6145ed810100h4gy.html
Jquery validate 验证
(2010-03-30 09:45:04)
转载
标签:
jquery
validate
验证
it
分类:JavaScript
jQuery校验
一导入js库
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/jquery.validate. ...
本文来自CSDN博客:http://blog.csdn.net/googolplex/archive/2006/06/07/778386.aspx
import java.io.*;
import java.util.*;
import java.util.zip.*;
public class Unzip {
public static void main(String[] args) {
String unzipfile = "d:\\test\\test.zip"; //解压缩的文件名
try {
File olddirec ...
光盘放进电脑光驱,不能复制,更不能刻录,
打开光盘没有任何文件.你碰到过吗?
现象:将光盘放进电脑光驱要么无法播放,要么打开看不到任何文件,所以无法复制文件到电脑或无法直接刻录光盘,常见于一些正版DVD电影碟或正版软件 ...
转自:http://wenth.iteye.com/blog/195784
org.springframework.web.util.IntrospectorCleanupListener监听器主要负责处理由JavaBean Introspector使用而引起的缓冲泄露,
它是一个在web应用关闭时清除JavaBean Introspector的监听器,在web.xml中注册这个listener可以保证在web应用关闭的时候释放掉与这个web应用相关的class loader和由它管理的类.
如果你使用了JavaBeans Introspector来分析应用中的类.Introspecto ...
Tomcat中用web.xml控制Web应用详解(2)
作者:feng_sundy 来源:不详 (2006-04-29 13:42:24)
7 指定欢迎页
假如用户提供了一个像http://host/webAppPrefix/directoryName/ 这样的包含一个目录名但没有包含文件名的URL,会发生什么事情呢?用户能得到一个目录表?一个错误?还是标准文件的内容?如果得到标准文件内容,是index.html、index.jsp、default.html、default.htm或别的什么东西呢?
Welcome- file-list元素及其辅助的welcome-file元素解决了这个模糊 ...
转自:http://fanqiang.chinaunix.net/app/web/2006-04-29/4122.shtml
Tomcat中用web.xml控制Web应用详解(1)
作者:feng_sundy 来源:不详 (2006-04-29 13:39:34)
1 定义头和根元素
部署描述符文件就像所有XML文件一样,必须以一个XML头开始。这个头声明可以 ...
转自:http://flattop.iteye.com/blog/146135
1、从jcaptcha官方网站下载jcaptcha的发行包,并将其发行包中的jar文件考贝到本地项目WEB-INF目录下的lib目录中。
官方网址http://jcaptcha.sourceforge.net/
2、在web.xml文件中配置
Java代码
<servlet>
<servlet-name>jcaptcha</servlet-name>
<servlet-class>cn.hxex.order.core.jcap ...
XML文件 book.xml
<book>
<person>
<first>Kiran</first>
<last>Pai</last>
<age>22</age>
</person>
<person>
<first>Bill</first>
<last>Gates</last>
<age>46</age>
</person>
<p ...