Struts2实现文件上传
文件上传页面
file.jsp:
...
分类:
其他好文 时间:
2014-05-05 13:26:32
阅读次数:
261
文件存储的用途:
A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, it's good for image files or anything exchanged over a netw...
分类:
移动开发 时间:
2014-05-05 13:01:21
阅读次数:
339
这篇对应的是习题16,读写文件
# -*- coding: utf-8 -*-
#对文件更多操作复制A文件的内容到B文件
#from sys import argv
from os.path import exists
prompt = "> "
from_file = raw_input("please input the filename where you want to copy...
分类:
编程语言 时间:
2014-05-05 12:54:02
阅读次数:
402
VB/C#.Net实体代码生成工具(EntitysCodeGenerate)【ECG】是一款专门为.Net数据库程序开发量身定做的(ORM框架)代码生成工具,所生成的程序代码基于OO、ADO.NET、分层架构、ORM及反射+工厂设计模式等。支持.Net1.1及以上版本,可用于Oracle、SqlServer、Sybase、DB2、MySQL、Access、SQLite、PostgreSQL、DM(达梦)、PowerDesigner文件、Informix、Firebird、MaxDB、Excel等和OleDb...
分类:
Web程序 时间:
2014-05-04 00:13:17
阅读次数:
658
使用jquery-file-upload,可以通过js来上传多个文件,并且支持端电脑续传。
使用jqplay可以播放MP4、MP3等视频和音频文件,速度快,支持linux、windows等系统和各种浏览器。...
分类:
其他好文 时间:
2014-05-03 17:30:50
阅读次数:
337
1.File的用于创建目录、用于表示目录、用于创建文件、用于表示文件和用于删除文件或目录。
2.字符流:abstract class Reader和Writer操作的是文本文件
3.缓冲字符流(BufferedReader和BufferedWriter)每次读取或写入一行
缓冲流(BufferedInputStream和BufferedOutputStream)每次读取或写入一个数组的大小。
4.打印字符流属于处理流,不能和介质直接相连...
分类:
其他好文 时间:
2014-05-03 17:21:40
阅读次数:
401
By Long Luo
最近遇到一个算法题:
仿照Excel的列编号,给出一个数字,输出该列编号字符串。
例如:A对应1,Z对应26,AA对应27,AZ对应52 ......
这个题目是一个典型的26进制思路去处理,但是这个题目里面有很多陷阱,在1, 26, 52等特殊情况进行考虑,经过晚上接近1个小时的编写,完成的代码如下:
C++代码如下:
#inclu...
分类:
其他好文 时间:
2014-05-03 17:09:18
阅读次数:
344
1、具体错误如下
2014-5-2 21:38:29 com.opensymphony.xwork2.util.logging.jdk.JdkLogger error
严重: Exception occurred during processing request: null
java.lang.NullPointerException
at com.you.file.upload.actio...
分类:
其他好文 时间:
2014-05-03 16:08:37
阅读次数:
353
package com.recursion;
import java.io.File;
public class RecursionFile {
public static void main(String[] args) {
File file = new File("G:/A");
tree(file, 0);
}
private static vo...
分类:
编程语言 时间:
2014-05-03 16:07:04
阅读次数:
265
linux源码升级内核当前环境:[root@localhost~]#uname-r
2.6.18-348.el5配置流程:1、准备yum库安装g++gcc[root@localhost~]#cat/etc/yum.repos.d/rh_5.9.repo
[rhel-server]
name=Redserver
baseurl=file:///misc/cd/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-..
分类:
系统相关 时间:
2014-05-03 14:40:08
阅读次数:
500