The future belongs to those who believe in the beauty of their dreams.Dream BIG!
[My Blog]
All roads lead to JavaRanch
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
And creating Movie objects and setting the name property to the name of the movie.
[My Blog]
All roads lead to JavaRanch
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
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...
[My Blog]
All roads lead to JavaRanch
Regards
Salil Verma
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
What's the url supposed to be...?
I am getting this error with both the urls:
[My Blog]
All roads lead to JavaRanch
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Ankit Garg wrote:Your getName and getGenre methods are also not public in the Movie class...
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Nabila Mohammad wrote:My Jsp file is :
I am also getting this along with the previous error message i mentioned.
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to find a value for "name" in object of class "foo.Movie" using operator "."
iChristophe 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 ?
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
What's wrong? Where are you going? Stop! Read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|