| Author |
How to pass instance variable to the JSP
|
Zandis Murāns
Ranch Hand
Joined: Aug 18, 2009
Posts: 174
|
|
How can I access passed variable (for example, an instance of List) to the JSP?
Here's how I'm trying to accomplish this:
view.jsp:
So how comes request.getAttribute("List") is null at this point?
|
 |
Philip Thamaravelil
Ranch Hand
Joined: Feb 09, 2006
Posts: 92
|
|
|
Move you request.setAttribute("List", aList); to the doView and it will work.
|
 |
 |
|
|
subject: How to pass instance variable to the JSP
|
|
|