you need to wrap your output in quotes (I'm assuming this is JSP?)
movie_name = "<%= movie_name %>";
See, when this is written out the browser tries to interpret it, so without quotes you wind up with something that looks like...
movie_name = Men In Black;
Since this is obviously a massive syntax fail, the browser just quits trying and silently fails (though you should see a log of what it didn't like).
When you wrap the output in quotes then everything falls into place HOWEVER, make sure to convert any " in your java string to \" when you print it out, or you'll have more of the same trouble.
However, as the other answers suggest, you're re-inventing the wheel here and should just do this the prescribed way, as per Nishant's advice.
request.setAttribute("movie_name", "The Matrix")or a parameter namesmovie_name? Did you read this tutorial. Did not downvote though.