struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dragan Kocic" <>
Date Wed, 24 Apr 2002 09:12:56 GMT
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
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">

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

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 !!!!!!!


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message