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: Assesrtion Failed Error while JSP Testing
Date Wed, 11 Feb 2004 12:11:15 GMT
Hi Dinesh,

In article <20040211041424.D233A416075@ws5-2.us4.outblaze.com>,
Wed, 11 Feb 2004 12:14:24 +0800,
"Dinesh N" <gnavsupe@india.com> wrote: 
gnavsupe> But it Shows result for test case as null. Dont knowe why?
gnavsupe> CAn you tell me what may be the problem ?

If you say about str1 which is set by
pageContext.getAttriute("stringArray1", pageContext.PAGE_SCORPE),
that should be null in the TestCase.
The page-scope attribute is accessible only in the JSP
(i.e. /StringArrayJSP.jsp).

Kazuhito SUGURI

View raw message