Changed method logic as well as deleted redundant file
Added result page
Removed result.jsp file
Fixed method implementation