Como retorna?

1 resposta
T

FormFile fileForm = (FormFile)dyna.get(“anexo”);

Se eu chamar fileForm.getFileSize(), ele vai me retornar um int.

A questão é se ele retorna o tamanho do arquivo em bytes, kbytes ou mbytes.

1 Resposta

jeveaux

Em bytes

http://struts.apache.org/1.2.7/api/org/apache/struts/upload/FormFile.html#getFileSize()

Criado 27 de junho de 2007
Ultima resposta 27 de jun. de 2007
Respostas 1
Participantes 2