Adding web.xml in the classpath of eclipse
Hi,
I am doing to Struts Action class unit testing using MockStrutsTestCase.Where I need to load the web.xml explicitly or add it in the class path. I have choosen the second one by doing the below:-
Right click on the TestLoginAction - > Run as -> Run Configurations - > Classpath tab -> In the User Entries I have selected "Advanced" button and have added the folder(WEB-INF) where the web.xml resides.
But still web.xml is not loaded when i run the unit test case? How to add the web.xml in the classpath of TestLoginAction. Please clarify.
Thanks.