• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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

 
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.

 
Marshal
Posts: 67356
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
Ranch Hand
Posts: 329
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please explain the same with sample code
 
Bartender
Posts: 1845
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?
 
Good night. Drive safely. Here's a tiny ad for the road:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!