aspose file tools*
The moose likes Struts and the fly likes only few of logic:iterate tags among many doesn't work in tomcat 5.5.35 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "only few of logic:iterate tags among many doesn Watch "only few of logic:iterate tags among many doesn New topic
Author

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

Shiv Sidhaarth
Ranch Hand

Joined: Aug 06, 2001
Posts: 119
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

Joined: Jan 10, 2002
Posts: 61437
    
  67

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Could you please explain the same with sample code


Have Fun with Java
little,little.. little by little makes a lot..
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1018
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?
 
Consider Paul's rocket mass heater.
 
subject: only few of logic:iterate tags among many doesn't work in tomcat 5.5.35