migrate html5 project to java web project with glass fish container.