Hello, By looking at a code it sounds that it should work, perhaps one more way of making a list available to tagHandler would be put this list in a session like In JSP: session.setAttribute("movieList",movieList);
In Handler movieList=(ArrayList)pageContext.getSession().getAttribute("movieList");
Hello Arul, problem in your code is that you are not checking for movieList to be null in your tag code(doTag() method)... as in your first invocation of your tag, you are passing only user, the tag will find movieList to be null and it will throw you NullPointerException when you do "movieList.iterator()"... your could should be
hope this helps
Joined: Jan 14, 2005
think you did a great reading. Thank you so much.
i also noticed this problem later. now i have corrected it.
now my jsp file is
This is the error message :
HTTP Status 500 -
type Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.