Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
and_hom  
#1 Posted : Monday, August 16, 2010 8:50:04 PM(UTC)
and_hom

Rank: Newbie

Groups: Member
Joined: 8/16/2010(UTC)
Posts: 2

Hello!

I use trial version of ImageUploader to try it and make a decision about buying.

I have a problem: post header looks like

Quote:
1.jpg_Source0.jpg

--A2sVEJZF32a3OWPo7FdIFd7UvoVW5qc-jeV

Content-Disposition: form-data; name="File0_0"; filenam_="1.jpg_Source0.jpg"

filenam_ used instead of filename

So, I have a problem with integration with java com.oreilly.servlet.multipart.MultipartParser

Whether this is a limitation of trial version or it's normal behavior?

Thank you

Dmitry  
#2 Posted : Tuesday, August 17, 2010 6:55:54 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

It is not limitation of the trial version.

There is the limitation of the Adobe Flash platform. It does not permit sending files in requests prepared in a memory buffer. If sending thumbnails is enabled in Image Uploader Flash, we have to build HTTP POST requests in memory and then send them. This way we have to use workaround: send files as binary data rather than as files, that is why attribute “filename” is named “filename_”.

We have server-side adapters for ASP.NET and PHP which pre-process requests and rename “filename_” to “filename” after that the request is parsed correctly on the server side. Unfortunately we have no implementation of this adapter for JSP.

Unfortunately I am not JSP-savvy. What do you think, is there any way to preprocess request before parsing it by with com.oreilly.servlet.multipart.MultipartParser?

Edited by user Friday, August 20, 2010 2:22:30 AM(UTC)  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

and_hom  
#3 Posted : Thursday, August 19, 2010 8:46:23 PM(UTC)
and_hom

Rank: Newbie

Groups: Member
Joined: 8/16/2010(UTC)
Posts: 2

Ok! I'd overrided MultipartParser ;)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.