The solution for the 1 question is got......
can any one reply me for the second one......
Always give your path with respect to your application's home directory.
So, it should be something like, /WEB-INF/sub-dir/... etc
(where '/' starts from your web application's root directory)