You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Anil Agrawal <a....@popnet.co.in> on 2003/04/28 14:22:50 UTC
I want to test jsp which uses tags
We are using jsp tag lib since last 3 years and
> > We are heavily using nested tags.
> >
> > I tested my tags successfully using cactus testing frame work. But
> > now I want to test the jsp which uses this tag.
> >
> > I am sending you my jsp which contains this tag.
> >
> > I want to test this jsp directly.
> >
> > When I submit request to this jsp from my testcase.
> > Tag gets executed but I am not able to capture the
> > response genrated by tag.
> >
> > When I individually test tag I am successful in testing. But my goal
> > is to test the jsp which contains tags.
> >
> > webResponse.getText() give me only static part of the jsp It does
> > not give me response genreated by out put.
> >
> > Pl. note that our jsp may create nested tag problem on tomcat web
> > server. We are using weblogic7.0 SP2.
> >
> > my jsp contains following tag. ==============================
> > <auth:doCreateGroup groupName="<%=gName%>"
> > description="<%=description%>"
> > isAdmin="<%=isAdmin%>">
> > <common:inputError>
> > <p class="error"><%=inputError%></p>
> > </common:inputError>
> >
> > <common:businessError>
> > <p class="error"><%=businessError%></p>
> > </common:businessError>
> >
> > <common:commandSuccess>
> >
> > <p class="success">Group has been added</p>
> > </common:commandSuccess>
> > </auth:doCreateGroup>
> >
> >
> > with regards
> > anil