Hmm, I didn't realize I had to, as none of the examples seemed to require it.(although I guess it makes sense :) ) Unfortunately, it doesn't seem to be helping. I imagine I'm missing a core concept here somewhere, so I'm going to outline what I think should be happenning.
1) Cactus calls the beginXXX method, setting up the request on the client side. 2) Cactus then calls testXXX method serverside, which allows you to call the servlets methods and a such to test out the individual methods. 3) Cactus calls the endXXX method client side, which contains the request object from whatever method you called in the textXXX method. The examples on the website all looked pretty simple, and I tried to write my code based on those, but so far no luck. I think my understanding of what endXXX is used for(and what is passed to it) is flawed. Any more help would be appreciated :) Conan K Woods On Tue, Apr 13, 2004 at 09:47:26AM +0900, Kazuhito SUGURI wrote: > Hi, > > In article <[EMAIL PROTECTED]>, > Mon, 12 Apr 2004 16:24:12 -0700, > [EMAIL PROTECTED] (Conan) wrote: > woodsc> Well, nevermind the constructor and such, most of that was copy pasted > woodsc> from examples and not important. I originally tried it with a > woodsc> ServletTestCase, but I had the same problem. My main issue is that I > woodsc> would like to see the output of the servlet with the getText() method. > woodsc> Do you have any ideas as to the problem? > > As Vincent suggested, > vmassol> 6/ You're instantiating a servlet object but a servlet is not supposed > vmassol> to do anything in its constructor... and you're not calling any other > vmassol> method... > and this may be the cause. > Your testJsp method do not call any service provided by LoginJSP servlet, > doGet(request, response) for example. > > Regards, > ---- > Kazuhito SUGURI > mailto:[EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
