use !DOCTYPE
send redirect when user accesses /rest/
Merge pull request #12 from ridoo/develop

some jsp bugfixing