Hey all

I have an action class which handles file uploads via a setter method:

private File uploadedMovie = null;
public void setUploadedMovie(File uploadedMovie) {this.uploadedMovie =
uploadedMovie;}

The problem is that I can't set the name of the uploaded file before it is
saved to the drive. I can specify the path but the file name is some random
generated key by Tomcat. Can I somehow intercept the upload before it has
been saved to the  drive and change the name? If not, are there other
alternatives?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Another-file-upload-question-tf3638618.html#a10160759
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to