This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes in Eclipse - web.xml not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "in Eclipse - web.xml not found" Watch "in Eclipse - web.xml not found" New topic
Author

in Eclipse - web.xml not found

Kaizar Laxmidhar
Greenhorn

Joined: Feb 25, 2004
Posts: 10
Hi,

I am new to junit, I have created StrutsTestCase for my application but facing below error while running the test case in Eclipse.
junit. framework. AssertionFailedError : The /WEB-INF/web.xml was not found.
Your help will be appriciated.
Here is the code

setConfigFile("/WEB-INF/struts-config.xml");
setRequestPathInfo("/CalendarSearchAction.do");
addRequestParameter("OutboundDay","20");
addRequestParameter("OutboundMonth","7");
addRequestParameter("OutboundYear","2008");
actionPerform();

Regards,
Kaizar
 
 
subject: in Eclipse - web.xml not found
 
Similar Threads
servletunit.struts nullpointer problem
junit Error - web.xml was not found
Run junit CactusStrutsTestCase with Tomcat
struts test case problem
JUnit problem with addRequestParameter . HELP * * *