unable to run webapplications in tomcat
the following is the error i get every time i try to run my web application in tomcat 6. im using ubuntu 9.04. i have placed my application in webapps folder correctly but still im unable to run it from the tomcat manager.. any one please help im stuck up i am my college project.
HTTP Status 404 - /SearchDoctors/ type Status report message /SearchDoctors/ description The requested resource (/SearchDoctors/) is not available. Apache Tomcat/5.5.28 i have placed my application in /usr/local/tomcat/webapps/SearchDoctors/WEB-INF folder correctly ill also post the contents of /usr/local/tomcat/webapps/SearchDoctors/WEB-INF/web.xml of my application as i have searched they say problem is with this can anyone please help.the college project still needs a long way to go view plaincopy to clipboardprint? 1. 2. <?xml version="1.0" encoding="UTF-8"?> 3. <!DOCTYPE web-app 4. PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 5. "http://java.sun.com/dtd/web-app_2_3.dtd"> 6. 7. <web-app> 8. <display-name>Forms</display-name> 9. <servlet> 10. <servlet-name>Validation</servlet-name> 11. <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class> 12. <load-on-startup>0</load-on-startup> 13. </servlet> 14. <servlet-mapping> 15. <servlet-name>Validation</servlet-name> 16. <url-pattern>/app</url-pattern> 17. </servlet-mapping> 18. <servlet> 19. <servlet-name>dwr-invoker</servlet-name> 20. <display-name>DWR Servlet</display-name> 21. <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class> 22. <init-param> 23. <param-name>debug</param-name> 24. <param-value>true</param-value> 25. </init-param> 26. </servlet> 27. 28. <servlet-mapping> 29. <servlet-name>dwr-invoker</servlet-name> 30. <url-pattern>/dwr/*</url-pattern> 31. </servlet-mapping> 32. 33. </web-app> 34. |
Quote:
Not much else generates a 404 error, which should be covered well in your class. Quote:
|
i got the problem solved. there was a little problem in the organisation of the files within my application..
|
All times are GMT -5. The time now is 03:11 AM. |