I want to rename upload file in my action .I code :

  FormFile file=form.getUserphoto();
  file.setFileName(String.valueOf(date.getTime()));
but error is :javax.servlet.ServletException: The setFileName() method is
not supported.

what can I do ?
thanks in advance !
-- 
View this message in context: 
http://www.nabble.com/how-rename-the-upload-file-in-struts1---tf4675357.html#a13357849
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