• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please explain the same with sample code
 
Bartender
Posts: 1845
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic