日期:2014-05-16  浏览次数:20771 次

Apache 文件上传

jsp code

======================

<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>

?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

? <head>???

??? <title>Image upload jsp ! </title>

??? <!--

??? <link rel="stylesheet" type="text/css" href="styles.css">

??? -->

?

? <script type="text/javascript" src="js/jsimages.js"></script>

? <link rel="stylesheet" href="css/cssimages.css" type="text/css"></link>

? </head>

?

? <body>

??? <form name="formFileUpload" method="post" action="/Import_java/servlet/svltFileUpload" enctype="multipart/form-data">

? <table width="100%" border="1">

??? <tr>

????? <th colspan="3"><strong>文件上传</strong></th>

??? </tr>

??? <tr>

????? <td>&nbsp;</td>

????? <td height="187">