Leandro,

> -----Original Message-----
> From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED]]
> Sent: 06 February 2002 17:33
> To: Cactus Users List
> Subject: trying to make cactus hit an URL
> 
> Hi all
> I'm trying to make cactus hit an url to test MyServlet.

That's not the way it works ...

> Here is what I did
> 
> public void beginXXX(WebRequest theRequest)
> {
>
theRequest.setURL("host","/context","/servlet/main","/pathinfo",quer
> y");
> }
> 
> wouldn't this be enought to make ServletRedirector hi
> http://host/context/servlet/main/pathinfo?query ??
> 

nope ... ;-)

All requests go through the Cactus redirector servlet which in turn call
your method to test. See
http://jakarta.apache.org/cactus/how_it_works.html for details.

Thanks
-Vincent

> 
> --
> Leandro Rodrigo Saad Cruz
> IT - Inter Business Tecnologia e Servicos (IB)
> http://www.ibnetwork.com.br
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to