Hi,
what's the exception?
does your form class has a method getPb()/setPb() and is it non-null for the
current instance of the form?
ATTA
On 10/27/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote:
>
> Hi,
> i am testing my action class using MockStrutsTestCase.
> the properties that are threre direc
5:46 PM
To: 'Struts Users Mailing List'
Subject: RE: MockStrutsTestCase problem
Hi,
what do you mean by YOUR_APPLICATION_CONTEXT_PATH?
is that /WEB-INF/web.xml
thanks
-Original Message-
From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED]
Sent: 21 October 2005 13:05
To:
Hi,
what do you mean by YOUR_APPLICATION_CONTEXT_PATH?
is that /WEB-INF/web.xml
thanks
-Original Message-
From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED]
Sent: 21 October 2005 13:05
To: 'Struts Users Mailing List'
Subject: RE: MockStrutsTestCase problem
U will have
Kanuri, Chand wrote:
Hi all,
I am using MockStrutsTestCase api to test my action classes.
i set like this in my setUP() method
setServletConfigFile("/WEB-INF/web.xml");
but the test fails and reports that /WEB-INF/web.xml is invalid path name
any ideas?
This isn't really the place to be aski
U will have to set the context path of ur application:
setContextDirectory(new File("YOUR_APPLICATION_CONTEXT_PATH"));
Regards
Anuradha
-Original Message-
From: Kanuri, Chand [mailto:[EMAIL PROTECTED]
Sent: Friday, October 21, 2005 4:03 PM
To: 'user@struts.apache.org'
Subject: MockStrut
5 matches
Mail list logo