This is not really how cactus is supposed to be used. If you're lookign to
test your web application externally, you should consider:

http://httpunit.sourceforge.net/

If you would like to test individual methods and classes in your app, check
out:

http://jakarta.apache.org/cactus/getting_started.html

Which will get you started on the Cactus methodology.

Cheers,

Nicholas Lesiecki
Principal Software Engineer
eBlox, Inc.
(520) 615-9345 x104
Check out my new book!:
Java Tools for Extreme Programming: Mastering Open Source Tools, including
Ant, JUnit, and Cactus

http://www.amazon.com/exec/obidos/ASIN/047120708X/

Check out my article on AspectJ:
http://www-106.ibm.com/developerworks/java/?loc=dwmain

-----Original Message-----
From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 10:33 AM
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.
Here is what I did

public void beginXXX(WebRequest theRequest)
{
        theRequest.setURL("host","/context","/servlet/main","/pathinfo",query");
}

wouldn't this be enought to make ServletRedirector hi
http://host/context/servlet/main/pathinfo?query ??


--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br


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


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

Reply via email to