And creating Movie objects and setting the name property to the name of the movie.
I still have to create the Web.xml file.
But i cant figure out how the Tag handler class ie.SimlpleTagAttr. java is going to be linked to the Servlet...
What's the url supposed to be...?
I am getting this error with both the urls:
Ankit Garg wrote:Your getName and getGenre methods are also not public in the Movie class...
Nabila Mohammad wrote:My Jsp file is :
I am also getting this along with the previous error message i mentioned.
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to find a value for "name" in object of class "foo.Movie" using operator "."
Christophe Verré wrote:It looks like you need to set an attribute called "movieCollection" in a scope. There are different ways to do it. One would be to make a servlet, set the "movieCollection" attribute in the request scope, and forward to the JSP file. Can you figure out how to do it ?