In an Eclipse web project targeting WebSphere Application Server 7, I have CSS files in a css subfolder under WebContent. When I try to access them from a browser I get a 404 error saying:
Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: /css
The solution was to enable file serving in ibm-web-ext.xml.
This adds the following line to ibm-web-ext.xml:
<enable-file-serving value="true"/>
Acknowledgement to CodeRanch for the solution.