This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hello, I have been trying to deploy a web application(spring-based) in Tomcat.I keep getting the error "The requested resource (/springbanking/) is not available".I tried deploying it in the exploded fashion as well as using the war.But the error persists.I know this is a simple problem but I have been able to resolve it.Please help.
Thanks for your quick reply Bear.I deployed the application(springbanking) in two ways:
1)Drop the entire folder(with the right directory structure )under the webapps folder.I then opened up Tomcat manager and found that the application has been deployed.Now when I try to bring up the application,I get the error "The requested resource (/springbanking/) is not available".
2)I created a war and deployed it only to get the same error.
Obviously something is wrong.I wonder why Tomcat console doesn't display any errors.Also,I could not find any logs.Looks like the issue is with the DispatchServlet(this being a Spring app) not being found.
More info please. Is springbanking the context name? Is the WEB-INF folder in the springbanking folder? Do you have a valid web.xml? Is there an index.html or index.jsp in the springbaking folder? [ July 16, 2008: Message edited by: Bear Bibeault ]
Joined: Jul 15, 2008
Thanks Bear for your reply.I have a valid web.xml and an index.jsp in the WEB-INF folder.Where should I specify the context name(This I know is a basic question,but I am not sure).I am guessing in the web.xml.Also I don't think I need to add anything to server.xml correct??