It appears that one should set exposeWebInfOnDispatch
property to true
in order to make WEB-INF accessible for servlets in WebSphere. I got this answer from WebSphere forum.
In WebSphere 7 administration console,
- Go to "Servers" => "Server Types" => "WebSphere application servers" on the left
- Choose proper server on the list on the main part of the page
- Click on "Container Settings" => "Web Container Settings" => "Web container"
- Go to "Custom properties" on the right
Add new property:
- Name:
exposeWebInfOnDispatch
- Value:
true
- Name: