But how do I get the Collection of object from the doView function to the JSP page?
>>> Serkan Camurcuoglu <[EMAIL PROTECTED]> 4/21/2008 1:43 PM >>> You can use the JSTL (JSP Standard Tag Library) foreach tag for iteration. I've found some examples at http://www.area.trieste.it/opencms/opencms/alkacon-documentation/examples_jstl/iterators/index.html . By the way, if you're using a web framework such as Struts or Struts2 they also have their custom JSP tags for iteration logic. Dan Olsen wrote: > In my doView function I create a collection of objects that I want to iterate > through on a JSP. What is the best way to do that? I have my dispatcher which > looks like it sends the response and request variables. Can I add the > Collection of objects to that? If so, then how do I iterate through it in the > JSP? > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]