RE: calling request.getInputStream() within Action

2004-07-16 Thread Robert Shields
nt to double check that you're not doing that. >Rob > > Craig > -Original Message----- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Thu 15/07/2004 17:5

Re: calling request.getInputStream() within Action

2004-07-15 Thread Craig McClanahan
our servlet, you should have been able to copy the input stream as in your original approach -- you might want to double check that you're not doing that. Rob Craig -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Thu 15/07/2004 17:50 To: Struts U

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
lue = ""; for(int i=0; imailto:[EMAIL PROTECTED] Sent: Thu 15/07/2004 17:50 To: Struts Users Mailing List Cc: Subject: Re: calling request.getInputStream() within Action Robert Shields wrote: >Hi Bill

Re: calling request.getInputStream() within Action

2004-07-15 Thread Craig McClanahan
Robert Shields wrote: Hi Bill Thanks for your response. I've tried with a servlet too, but even without calling request.getParameter the stream is still empty: One way to paint yourself into this particular corner is if you're trying this on a POST request. As soon as you call a method like r

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
PROTECTED] Sent: 15 July 2004 17:00 To: 'Struts Users Mailing List' Subject: RE: calling request.getInputStream() within Action Can I ask why you are after the binary content of the request? Paul > -Original Message- > From: Robert Shields [mailto:[EMAIL PROTECTED] >

RE: calling request.getInputStream() within Action

2004-07-15 Thread Paul McCulloch
Can I ask why you are after the binary content of the request? Paul > -Original Message- > From: Robert Shields [mailto:[EMAIL PROTECTED] > Sent: 15 July 2004 16:02 > To: Struts Users Mailing List > Subject: RE: calling request.getInputStream() within Action > >

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
wrong with my Tomcat! Regards, Rob -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: 15 July 2004 14:16 To: [EMAIL PROTECTED] Subject: Re: calling request.getInputStream() within Action Robert, I found the following link that discusses this: http://archi

Re: calling request.getInputStream() within Action

2004-07-15 Thread Bill Siggelkow
Robert, I found the following link that discusses this: http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=jsp-interest&F=&S=&P=49196 It sounds like you are correct -- if request.getParameter() has been called you cannot get the input stream -- have you considered using a Servlet instead? Robe

calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
Hi Struts Users I'm trying to get the InputStream to read the binary contents of the request within an Action's execute method. E.g. public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request,