Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.3.16.3
-
None
-
None
-
Windows 7
Description
I have servletcontextlinstner defined in web.xml. This listener get the datasource from web.xml and initialise the datasource.
Now, I am trying to create Unit Test case and extending StrutsTestCase. Here I am getting datasource as NULL while from browser, application working correctly.
Appreciate if you can help in calling Listner class in testcase or initialise web.xml