As you seeing that status code 500 it means that there are some problem with your server which server u are using expain detail then i can give your solution.suppose if u are using tomcat then try to add servlet api in classpath after it shouldnot give such error
Regards Rajesh Pandey Mob:- +919811903737 email:- rajesh-pandey@hotmail.com A freelance software Developer India Delhi
Are you deploy jsp . if it gives such error in case of jsp deployment then try to add jsp runtime api jsp engine in class path after that your programme deploy successfully