wood burning stoves 2.0*
The moose likes Struts and the fly likes how to display elements of two dimensional array in jsp using struts tags? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to display elements of two dimensional array in jsp using struts tags?" Watch "how to display elements of two dimensional array in jsp using struts tags?" New topic
Author

how to display elements of two dimensional array in jsp using struts tags?

Bhoomika Bathla
Ranch Hand

Joined: Nov 28, 2009
Posts: 40
Hello to All...

I have a 2 dimensional array.I want to display it using jsp with the use of struts tags.Can you please help me in iterarting over the elements in jsp??
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Which version of struts are you using?? You can use logic:iterate tag in Struts 1 and s:iterator in Struts 2 to do this...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to display elements of two dimensional array in jsp using struts tags?
 
Similar Threads
Need to generate a form dynamically with repeating form elements [Based on the number
Need to generate a form dynamically with repeating form elements [Based on the number
How can read data from DB
using Scriplets in JSP with Struts
Two Dimensional Array in struts