• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

HTTP Status 404

Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have created sample web application using MyEclipse6.5. There is just one welcome page is there. When I am giving the Context path I am expecting the welcome page should be displayed. The entry in the web.xml file is as follows.


The web.xml file is inside \WebRoot\WEB-INF\web.xml. According to this I have modified the context.xml inside Tomcat 6.0\conf as below.


But still its not able to pick the web.xml and thats why showing 404 error. Any idea where else I need to change?

But when I removed the WebRoot folder and only kept the WEB-INF folder directly inside the context path then its working fine.

Is there any way to customize the directory structure of the web application and please let me know where i am going wrong.

The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic