用servlet处理文件上传的问题。(100分)

S

sunrain

Unregistered / Unconfirmed
GUEST, unregistred user!
NT下用用jswdk做服务器,上传文件稍微有点大就和服务器的连接意外终止。不知是怎么回事.
 
我用tomcat,上传5m的东西都没问题.
 
还是一样,和服务器的连接意外终止,不知道是不是有什么可以设置的,
 
如何上传文件的?
 
如何用jsp及servlet联合上传文件?
 
如何上传文件的?
 
本人也遇到一个间题,请指教
 
我问一下,tomcat 是哪个下的?windows or linux?
 
comcat跨平台,
 
hi,superMMx,
I have notdo
wnload tomcat!
我想用jsp做一个client上传文件的页面,client可将自己指定的任何文件上传给服务器,怎麽做?

 
1.Tomcat 到底是什麽东西.在那里有介绍它的详细资料?
2.afei说:用tomcat上传5M东西没问题,是什麽意思呀?
3.我想用jsp做一个client上传文件给http server(apache)的页面,client可将自己指定的任何文件上传给服务器,怎麽做?
鸡毛信一封.火速回答!多谢!
 
我也需要用jsp上传文件,怎么做?
 
我是不知道的,我连 tomcat 都不知道,呵呵
 
use ServletRequest.getInputStream() method to upload file
 
http://forum2.java.sun.com/forum?14@@.eeeed2b
 
xi:could you send me thedo
cument? thanks.
 
zhangbinbin:
Go http://wwww.servlet.com
download the package com.oreilly.servlet.
Try to use the class MultipartRequest in the package to complete upload a file.
But I have a great problem when I use the class that is it only can
upload 1k file stability and I can not know why?
try and tell me the result,please!
good luck.
 
xi:
Thank you for your answer.But I couldn't access the
URL http://wwww.servlet.com.I have written a servlet to upload file.
the only problem is that the uploaded file is two byte lager than the
original one.
Would you send me the package com.oreilly.servlet?
Thanks.
 
顶部