There is no code in your servlet to forward to the result.jsp page. The request should be forwarded to result.jsp then only then the attribute musicList contain value from the attribute set into the servlet.
How you testing the output ? Is by running only servlet ?
Have you tried setAttribute without quotes for favoriteMusic. Otherwise the attribute musicList will set to value "favoriteMusic"