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
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
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
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
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]
>
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
>
>
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
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
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,
9 matches
Mail list logo