File uploaded FormFile getInputStream problem
0 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Monday, February 17, 2003 01:35 AM

I've tried to use FormFile getInputStream method to save the uploaded file to MSSQL. However, i've found that the result to execute method available of input stream got by FormFile is 0!!! and so i cannot insert any data into MSSQL. And i have tried to get the uploaded file bytes and created a ByteArrayInputStream and it worked fine. How can I save the uploaded file into MSSQL is the best? Thanks a lot.

About | Sitemap | Contact