You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Vijay Arasan.Thamil (JIRA)" <ji...@apache.org> on 2008/11/11 08:18:37 UTC

[jira] Created: (STR-3167) formfile.getFileData() returns some byte array data even uploading a empty file

 formfile.getFileData() returns  some byte array data even uploading a empty file
---------------------------------------------------------------------------------

                 Key: STR-3167
                 URL: https://issues.apache.org/struts/browse/STR-3167
             Project: Struts 1
          Issue Type: Bug
          Components: Core
         Environment: Windows, Eclipse
            Reporter: Vijay Arasan.Thamil


I am new to Struts. i don't know whether it is bug or not.
The Problem is that, when i upload a empty .csv file, i am getting some byte Array Details when call formfile.getFileData();
method. how it happens like this. please kindly help me.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3167) formfile.getFileData() returns some byte array data even uploading a empty file

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45059#action_45059 ] 

Paul Benedict commented on STR-3167:
------------------------------------

Please provide the Struts version you are using, and the size of the array? If you have a sample war, please attach it.

>  formfile.getFileData() returns  some byte array data even uploading a empty file
> ---------------------------------------------------------------------------------
>
>                 Key: STR-3167
>                 URL: https://issues.apache.org/struts/browse/STR-3167
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows, Eclipse
>            Reporter: Vijay Arasan.Thamil
>
> I am new to Struts. i don't know whether it is bug or not.
> The Problem is that, when i upload a empty .csv file, i am getting some byte Array Details when call formfile.getFileData();
> method. how it happens like this. please kindly help me.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.