Re: Change request

"Diez B. Roggisch" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi,

> What kind of studd have you added ? Multipart form data parsing?
> The problem is if multipart form data is used, I think
> request.getParameter does not work anymore, have to check this. It was
> long time ago I added this to application, and I don't remember right,
> but I think this was the reason why i manually added params to form map.

I remember that there are some subtleties with multipart forms - but all 
barracuda classes don't directly access the httpserveletrequest - instead the 
use a wrapper-class. I added a way to specify a factory for this 
wrapperclass, so you can come and roll out your own HttpServletRequest 
wrapping and provide access to files as well as the parameter values.

I think that wrapper-class used in barracuda especially added the 
functionality to add parameters - so you could read them (as you say you do) 
and store them into the servlet request. This is unfortunately not possible 
with the j2ee-interface-spec for HttpServletRequests.

It has been a while since I looked at all this stuff, but I know for sure that 
we created a content-item "image" that was edited with a form that let you 
specify the image as file upload as well as a bunch of meta-data.

Regards,

Diez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.