you should create your pg folder inside WEB-INF directory that is beneath your web application and put index.html file in pg folder.