• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

only few of logic:iterate tags among many doesn't work in tomcat 5.5.35

 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are migrating our apps from 5.5.28 to 6.0. We tried to do this for 5.5.35 first. Our jsp pages that contain logic:iterate tags works fine in 5.5.28, but only few of the tags fail in 5.5.35. They do not generate the declaration line of such ids.

I see this line : If the collection we are getting over can contain null values, the loops will still be performed, but no page scope attribute (named by id attribute) will be created for that loop iteration.

I went through those collections in debug mode and found it does not contain null. Then, why the error : it cannot be resolved in jsp page.

If this explanation is not clear, please let me know. I will clarify again. I have been facing this issue for numerous days.

Thank You in advance.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please explain the same with sample code
 
Stefan Evans
Bartender
Pie
Posts: 1669
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What sort of error message do you see?
Stack trace?
Can you show a simple example of one of your loop tags not working?

As an alternative to logic:iterate (deprecated) How much effort would it need to convert to using a <c:forEach> tag instead?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic