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 Vikas Malla <ma...@yahoo.co.in> on 2002/10/20 23:31:42 UTC

retrieve session objects

I want to know if this is possible:

I go to a jsp page using cactus/httpunit API, and retrieve the session objects with their values. for example, if  I have this line in my jsp :

int tet= ((MyBean)session.getAttribute("attribute1")).getIntValue();//(returns 100)

The same line in my unit test returns me the same value (100). 

How to do this?

Thanks

 Yahoo! Properties Special  Buy, sell, rent...your flat, or even post an ad