RE: Testing JSP with sessions

"karthik" <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hi

The examples described on the site was confusing and hard for me to digest,
please if u do have a simple samplel "war" and testcase for the same ...

 please post it on the form



with regards
Karthik

-----Original Message-----
From: Kazuhito SUGURI [mailto:[email protected]]
Sent: Tuesday, June 20, 2006 4:20 PM
To: [email protected]
Subject: Re: Testing JSP with sessions


Hi Karthik,

In article <[email protected]>,
Tue, 20 Jun 2006 14:52:59 +0530,
"karthik" <[email protected]> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.