Hi Radha, 2 things:
1/ Are you sure you've called "myServlet.init(config)" in your test, as explained on http://jakarta.apache.org/cactus/writing/howto_testcase_servlet.html 2/ If you need more help you'll need to show us the full stack trace of the error... -Vincent > -----Original Message----- > From: radha devi [mailto:[EMAIL PROTECTED] > Sent: lundi 19 juillet 2004 13:28 > To: [EMAIL PROTECTED] > Subject: Null Pointer exception in retrieving value from web.xml > > Hi, > > I am using Cactus 1.6.1 to test Servlet class. I am testing in weblogic6.1 > app server. The method called for testing calls another servlet class > which retrieves parameter value defined in web.xml file. > Here Cactus returns Null Pointer exception. what can be the reason? > > Thanks > > Radha > > > > --------------------------------- > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
