Date: 2004-06-19T11:45:05
   Editor: 168.103.241.58 <>
   Wiki: Jakarta Cactus Wiki
   Page: FrequentlyAskedQuestions
   URL: http://wiki.apache.org/jakarta-cactus/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -12,4 +12,4 @@
 || Why would I use Cactus rather than JUnit? || Use Cactus when you want to test 
Servlets, JSPs or anything that needs to run within a servlet container.  Use JUnit 
for anything else(!) ||
 || I'm using Cactus to test a servlet. Can I test multiple methods of the servlet in 
one test-case class? Also, it seems that after I run the test-case, the connection(s) 
to the container remain open, eventually blocking subsequent connection attempts when 
I try to run the tests again. How can I stop this happening? I'm using Ant & JBoss 
3.2. || <insert answer here> ||
 || Where are the Eclipse integration downloads? || The Eclipse plugin has been 
removed. Please see the note on 
http://jakarta.apache.org/cactus/integration/eclipse/index.html -However, I've found 
that to run cactus tests within Eclipse 3.0, you can simply run your cactus test as a 
jUnit test if you set a VM argument for ''cactus.contextURL'' (with something like 
''-Dcactus.contextURL=http://localhost:8080/test''). I would think that you may be 
able to achieve the same result with an Eclipse startup parameter. ''true, but you 
need to start your container first, with your cactus tests deployed. The Eclise plugin 
was doing that for you automatically. - VincentMassol'' ||
-|| I am not using a J2EE distro to run my Tomcat 5 server, just J2SE. Which version 
of Catus do I download? || <insert answer here> ||
+|| I am not using a J2EE distro to run my Tomcat 5 server, just J2SE. Which version 
of Catus do I download? || Tomcat 5 implements versions 2.4 and 2.0 of the Servlet and 
JSP specs respectively. These are part of J2EE 1.4 (for which Cactus does not have a 
specific distribution). However, you should be able to use the Cactus distribution 
targeted at J2EE 1.3 successfully for most tests. - NicholasLesiecki ||

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

Reply via email to