Merge pull request #857 from HiJon89/master

Move the references to javax.servlet classes into the anonymous class