Hi Vahan, I think your error has to do with your call to this.pageContext.popBody(). Try putting it elsewhere.
But, the easiest is for you to use Cactus 1.5dev and use the new JspTagLifecycle class as explained here: http://jakarta.apache.org/cactus/api/framework-13/org/apache/cactus/exte nsion/jsp/JspTagLifecycle.html It really simplifies things. Thanks -Vincent > -----Original Message----- > From: Vahan Harput [mailto:[EMAIL PROTECTED] > Sent: 08 June 2003 23:45 > To: [EMAIL PROTECTED] > Subject: Cannot check the output of a JSP tag > > Hi all, > > I am currently preparing a presentation regarding Cactus in my company. As > an example of how to test a custom tag using Cactus I am trying to create > a > test case for a JSP custom tag with Cactus 1.4.1 and WebSphere 5.0. My > problem is that I am not able to retrieve the output of the tag using the > WebResponse.getText() method within the endXXX() method since it does > return > an empty string instead of the actual tag output. Therefore the assertion > in > the last line of the end_FormTag(WebResponse response) Method in attached > TestFormTag class succeeds. I have also attached the class FormTag which I > am trying to test. > > Any help would be greatly appreciated. > > Regards, > > Vahan Harput > [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
