*
The moose likes Struts and the fly likes NullPointerException: Null attribute name while using <logic:Iterator> in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NullPointerException: Null attribute name while using <logic:Iterator> in Struts" Watch "NullPointerException: Null attribute name while using <logic:Iterator> in Struts" New topic
Author

NullPointerException: Null attribute name while using <logic:Iterator> in Struts

saravanan sambandam
Ranch Hand

Joined: Aug 30, 2010
Posts: 42
I want to display list of studentin jsp with the following detail



I have done the following code but i am getting this error NullPointerException: Null attribute name





Please help me. Herewhat i made the mistakes. or any alternative way to display student list by using JSTL.

Thanks in advance.

Thanks
Saran.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please PostRealCode: without real code I have no idea what your code is actually doing.

Also, when Struts tag functionality overlaps with JSTL, JSTL is the preferred mechanism.
saravanan sambandam
Ranch Hand

Joined: Aug 30, 2010
Posts: 42
I solved this issue by using JSTL <for:each> method.

Thanks
Saran.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NullPointerException: Null attribute name while using <logic:Iterator> in Struts
 
Similar Threads
Cannot find bean in any scope
Deleting checked rows in struts.
Question on Struts
Simple question
JSP Radio button value retrieval