You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Adam Hardy <ah...@cyberspaceroad.com> on 2008/04/01 01:12:23 UTC

Re: testing file uploads

Dave Newton on 31/03/08 22:00, wrote:
> --- Adam Hardy <ah...@cyberspaceroad.com> wrote:
>> Dave Newton on 31/03/08 18:42, wrote:
>>> What, specifically, are you trying to test?
>> The action has to get strings out of the request, work out which file they
>> are from and call the appropriate managers, with the corresponding string 
>> as a request. There's logic in the action that basically has nothing to do 
>> with how the container handles it (I hope).
> 
> You're saying it's reading the file and deciding what to do based on file
> contents?
> 
> Well, either way, I'd still test that completely separately from any
> container/request stuff, but without your understanding of how it's working
> I'm mostly just babbling ;)

I see the multipart http request as a weak point in the servlet spec. Or the 
http spec. But I want to test it for my own piece of mind, and when I have the 
test finished, I guess I can work out if it's really necessary.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: testing file uploads

Posted by Dave Newton <ne...@yahoo.com>.
--- Adam Hardy <ah...@cyberspaceroad.com> wrote:
> I see the multipart http request as a weak point in the servlet spec. Or
> the http spec. But I want to test it for my own piece of mind, and when 
> I have the test finished, I guess I can work out if it's really necessary.

You want to test multipart HTTP requests? Well, okay; enjoy!

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org