Is the "Eclipse" user on whose process the web server is running?

That could be one reason for your problem

Check if this helps you
http://www.java2s.com/Code/Java/JSP/...gdirectory.htm