HttpServletResponse response)
throws IOException, ServletException {
RequestDispatcher view = null;
ArrayList<DVD> randomDvds = null;
DVD dvd = null;
try {
dvd = fetchEjb.GetSingleDvd(dbUrl, dbUsername, dbPassword, filmId);
randomDvds = fetchEjb.GetFiveRandomFilms(dbUrl, dbUsername, dbPassword, dvd.getGenre());
} catch (Exception ex) {
throw new ServletException(ex);
}
request.setAttribute("name", request.getParameter("name"));
request.setAttribute("dvd", dvd);