About package org.apache.commons.fileupload.*

2007-11-13 Thread Fencer
Hi all,

I do write a java servlet to process the file upload with package
org.apache.commons.fileupload.*. It works normally when I use a jsp form to
call the servlet but when I drive a flash I find the uploaded files stay in
the temp directory set by the method setRepositoryPath. Actually the
uploaded files is the whole as the file is valid when I modify the surfix
.tmp to its own.Why this happens? How could I correct it? Or some another
package will be the better choice?

 

Many thanks



the isapi rewrite

2007-10-18 Thread Fencer
As a web page like .aspx rewritten to the same name with .html suffix, if
the html page does exist I want to response the html rather than the aspx,
how could I do with this?

I think it is sth about level
example:

a.aspx to a.html

if a.html itselft does not exist, I hope the server response the a.aspx as
a.html; if a.html DOES EXIST on the server, I just hope the server response
the a.html instead of calling the rewrite module.

I need your help

 

Regards