-
How to store image, audio, video & text files POSTed to JSP page?
Dear All,
When IMAGE files are POSTed to JSP page, how can i store them in image format i.e. in binary format?
My JSP page is accepting binary stream and writing it to a file. As the data is an image, i need to read the input in binary format and store it in binary(as-is) format. How can i do this in Java? Input to the JSP page can be anything - audio, video, text or image files. And hence, need to store them in binary format.
My code works for text file and is not working for .jpg file - i am getting blurred image.
Any help would be greatly appreciated.
Thanks,
symbian_ravi
Similar Threads
-
By Chaitanya Marvici in forum ASP.NET
Replies: 6
Last Post: 07-21-2003, 09:15 AM
-
By richard in forum ASP.NET
Replies: 0
Last Post: 06-07-2002, 02:09 PM
-
Replies: 3
Last Post: 08-30-2001, 11:45 AM
-
By Nicholas Barboutis in forum XML
Replies: 0
Last Post: 10-19-2000, 11:52 AM
-
By Ulrich Petri in forum ASP.NET
Replies: 0
Last Post: 07-23-2000, 06:58 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks