jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yu Hong <yuh...@isystech.com>
Subject RE: How to add RequestBody content into Cactus's WebRequest?
Date Tue, 16 Apr 2002 19:54:35 GMT
Wow!!! That's great news to me, hope I can get your v1.3 build from web
tomorrow(:-) Thank you very much, Vincent!


> -----Original Message-----
> From: Yu Hong [mailto:yuhong@isystech.com]
> Sent: 16 April 2002 18:40
> To: cactus-user@jakarta.apache.org
> Subject: How to add RequestBody content into Cactus's WebRequest?
> Hello, All:
>       I'm a newcomer of Cactus, right now, I try to use Cactus to do
> some Servlet Unit test. Then I run into 2 issues:
>      1. Cactus's WebRequest didn't provide any method to let user add
> some content into it's request body, I know Cactus will set some of
> their own variables(which will be used on it's server side) in
> body when the method is POST, so now what I want to do is try to test
> upload some content with post method, how can I handle it?

This was true in Cactus 1.2. It isn't in Cactus 1.3 : check
http://jakarta.apache.org/cactus/changes.html. You could normally grab a

Cactus nightly build to get the latest Cactus version. However, it is
currently broken. The easiest way is probably for me to manually post a
build of Cactus 1.3 on the web site (I'll try to do that tonight).

>      2. Due to the exist of Cactus, in my servlet, I can't read
> from the inputstream which I got by calling HttpServletRequest's
> "getInputStream()", anybody know what's the reason about that?

Hum. There were some issues with this in Cactus 1.2 but I believe they
are fixed in Cactus 1.3

> Any advice would be appreciated, thanks!


> HY
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message