The nested tags work off a structure defined within a bean. Not a collection itself. So wrap the hashtable in a bean and you're on your way.
You're not using a form obviously, so you'll need the <nested:root> tag to start everything off. Point this to the name you put the bean into your session with (currently "hashtable"), and it'll be fine. The nested tags work off the premise that they relate to each other. They always look up the tag hierarchy until they see a relative tag. Now there has to be a tag to start it all, this is what the <nested:root> bean has to do. Hopefully, this done it will start working as expected. If you're still having trouble, there's a primer and a tutorial which will walk you through all the steps of using the tags. http://www.keyboardmonkey.com/next Arron. Dragan Kocic wrote: >I trying to work with this nesteg tags from "jakarta-struts-20020422" but I >get no results, even no exceptions ... I got crazy .. > >I have a Bean called "FrageBean" filled with some attributes (Strings and >Integers) >I fill a hashtable with some of these Beans ... >put this hastable into the Session ... > > > HttpSession session = request.getSession(); > session.setAttribute("hashtable", hashtest); > > >In my View I try to use the nested tags like this .... > > > > <nested:iterate name="hashtable" property="value"> > <nested:write name="FrageBean" property="frageText"> > </nested:iterate> > > > >the Property "frageText" should return the String-value ... >I tried it with Java directly inside the JSP ... like this: > > > >java.util.Hashtable hash = new java.util.Hashtable(); >hash = (java.util.Hashtable)session.getAttribute("hashtable"); > >de.plenum.happySheets.beans.FrageBean fbean = new >de.plenum.happySheets.beans.FrageBean(); > >fbean = (de.plenum.happySheets.beans.FrageBean)hash.get(new Integer(0)); > >String test = fbean.getFrageText(); > >out.print("XXX -> "+ test); > > > >... > >On this way there is no problem, but I don't want to have this Javacode >inside the JSP >Where is my fault... > >THankz in advance !!!!!!! > >Dragan > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

