jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Lesiecki" <n...@eblox.com>
Subject RE: trying to make cactus hit an URL
Date Wed, 06 Feb 2002 17:53:07 GMT
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:leandro@ibnetwork.com.br]
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:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>


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


Mime
View raw message