multi-part request params

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

multi-part request params

Matthew Conway
If I'm uploading an attachment, and putting extra params into the  
request, xwiki doesn't seem to be allowing me to access them.
I noticed that the request is a struts MultiPartRequestWrapper, but  
it doesn't seem to contain any of the parameters at runtime.  e.g set  
a breakpoint in XWikiAction.execute and you'll notice that the  
request does not have the "filename" parameter, and in fact to access  
that param, the UploadAction has to manually parse it.  Shouldn't the  
form params be in the request?  Anyone know why this is happening and  
how to fix it (newer ver of struts maybe?)

I think this struts bug may be related: 


You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: