You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicolas Gréhalle <ng...@rennes.jouve.fr> on 2002/09/24 08:38:15 UTC

nested tags problem and struts performance

Hi,

I've 2 questions :

- I'm using Struts-1.1b2 with Tomcat 4.1.40. With old version (Struts-1.1b1
and Tomcat 4.0.x), I had no problem, but now, nested tags don't manage
anymore :
Example :

page1.jsp:

.......
  <nested:iterate property="childCollection" >
   <nested:write property="element"/>
   <nested:nest property="element" >
   <jsp:include page="page2.jsp" />
   </nested:nest>
  </nested:iterate>
......

page2.jsp:

...
<nested:root>
    <nested:write property="elementProperty" />
</nested:root>
...

===> page1 gives me elements adresses, but page2 crashes: according to the
message, i try to use .get() on an Array of size 0.
More Strange, if i reload the page, all is ok, but if there are 3 elements
in "childCollection", page1 gives me 3 different object adresses, but page2
gives me the same object adress 3 times.
any idea ?

- A french revue deals with the problem of Struts performance with more than
50-100 simultaneous users. It compares Struts with commercial framework
which have best performance with many simultaneous connected users than
Struts.
What's your mind about that ?

Thanks alot for help

N.G.






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>