troubleshooting Question

Stuts +iterating over a String array

Avatar of AKnibbs
AKnibbs asked on
JSP
14 Comments1 Solution1259 ViewsLast Modified:
Hi all I am working with struts and need to be able to display the contents of a string array in the browser.  I am trying to use the following code :

<logic:iterate id="SkuSearchForm" name="results">
<tr>
<td>
<bean:write name="SkuSearchForm" />
</td>
</tr>
</logic:iterate>

SkuSearchForm is the name of the form where the array is and results is the name of the String array.  When I execute the page that has the above in it there is no error message.  The page comes back with the memory address where the string array is stored (or at least that is my suspicion).  Any thoughts or ideas on this would be much appreciated.  
ASKER CERTIFIED SOLUTION
summerian

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros