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