This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts Iterate tag is not processing html markup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Iterate tag is not processing html markup" Watch "Struts Iterate tag is not processing html markup" New topic

Struts Iterate tag is not processing html markup

Robert Easton

Joined: Mar 10, 2003
Posts: 14
I have a collection that contains my data with the <TR> and <TD> html markup tags to generate a table. However when I use the logic:iterate tag to walk through the collection the markup is being displayed as text rather then creating my desired tag. Is there a way to get my desired results ?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60082

Moving to the Struts forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
Hi Robert:
Since nobody wants to respond to you; I want to state that the problem you are having can not be from the logic:iterate tag.
If your application is a simple struts application that do not involve databases you can equally well paste it on the screen, so we run it and see why the <tr> and <td> html tags are not been processed.
Anselm Paulinus.
I agree. Here's the link:
subject: Struts Iterate tag is not processing html markup
Similar Threads
Custom Visual Markup using the HtmlEditorKit
Display problems
optionsCollection syntax trouble
How to ignore the angle braces from being removed.
difference between #PCDATA and CDATA?