Blog信息 |
blog名称:网络爬虫 日志总数:39 评论数量:202 留言数量:2 访问次数:245762 建立时间:2005年3月22日 |

| |
[JSP应用]TOMCAT添加默认访问页面 软件技术, 电脑与网络
网络爬虫 发表于 2005/5/26 9:25:48 |
TOMCAT添加默认访问页面 修改文件web.xml,在welcome-list里面添加index.wml作为默认的访问页面 <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file>
|
|
[JSP应用]JSP中计算两个日期的间隔天数 软件技术, 电脑与网络
网络爬虫 发表于 2005/5/23 9:00:33 |
test.jsp
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.util.*,java.text.*" errorPage="" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档</title> </head> <% Str |
|
[JSP应用]JSP上传图片并生成缩略图 软件技术, 电脑与网络
网络爬虫 发表于 2005/5/11 15:58:02 |
JSP上传图片并生成缩略图
本例子使用了jspsmart组件进行上传,这里可以免费下载该组件www.jspsmart.com 下载解压后,将jar包复制到 \WEB-INF\lib 目录后重启服务器,jspsmart即可正常使用了
1、uploadimage.jsp
<%@ page contentType="text/html;charset=gb2312" language="java" import="java.io.*,java.awt.Image,java.awt.image.*,com.sun.image.codec.jpeg.*,java.sql.*,com.jspsmart.upload.*,java.util.*,cn.oof.database.*,cn.oof.house.*"%> <% SmartUpload mySmartUp |
|
|