jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazuhito SUGURI <suguri.kazuh...@lab.ntt.co.jp>
Subject Re: Testing JSP with sessions
Date Tue, 20 Jun 2006 10:50:08 GMT
Hi Karthik,

In article <EKEFKJABALKHFPHDIAEFCEOKCGAA.karthikn@xius.org>,
Tue, 20 Jun 2006 14:52:59 +0530,
"karthik" <karthikn@xius.org> wrote: 
karthikn>   Can some body on this form ,be kind to spare me some code on 
karthikn>   HOWTO test a JSP pages which hare secured by session objects.
karthikn>   Suppoes  i have 100 jsp pages which have session Tracked,
karthikn>   so how to set the sessions and Test such jsp pages using  CACTUS .

Please take a look at:
	http://jakarta.apache.org/cactus/writing/howto_testcase_jsp.html
        http://jakarta.apache.org/cactus/writing/howto_jsp.html

You can set session attributes in testXXX() method
before you call JSP under test by using one of forward methods.

Hope this helps,
----
Kazuhito SUGURI

Mime
View raw message