struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meissa.Sa...@assetmanagement.natexis.fr
Subject Réf. : Re: Réf. : Re: very strange errors (no collection found series)
Date Tue, 24 Jun 2003 08:55:23 GMT

Dirk,

here is the sensible extract of the jsp

      <logic:iterate name="paramForm" property="paramList" id="paramView">
                <bean:define id="index" name="paramView" property="index" type="java.lang.String"/>
                <bean:define id="codeParam" name="paramView" property="code" type="java.lang.String"/>
                <tr class="<%= (Integer.parseInt(index)%2 == 0)?"impaire":"paire"%>">
                        <%

                                String
updateUrl="/paramInitUpdate.do?task=initUpdateParam&codeParam="+codeParam;

                        %>

                        <td width="25%">
                        <html:link action="<%=editUrl%>"><bean:write name="paramView"
property="label"/></html:link>
                        </td>

                        <td><bean:write name="paramView" property="media"/></td>
                        <td><bean:write name="paramView" property="registrationDate"/></td>

                        <td><bean:write name="paramView" property="statut"/></td>
                        <td width="50">

                                        <html:link action="<%=updateUrl%>"><html:img
srcKey="image.modify" alt="Modifier" border="0"/></html:link>

                                        

                        </td>

                </tr>
         </logic:iterate>

A simple logic iterate tag .  I'm iterating the paramList attribute which
is an ArrayList property of the"paramForm" that is put in the request
from the action.

I know I could simply put the paramList in the request directly...
Do you think there is something I'm doing wrong.

Meissa





Dirk Markert <dirk.markert@dr-markert.de>
24/06/2003 09:55
Veuillez répondre à "Struts Users Mailing List"


        Pour :  "Struts Users Mailing List" <struts-user@jakarta.apache.org>
        cc :
        Objet : Re: Réf. : Re: very strange errors (no collection found series)


Hallo Meissa,

can you send the part of your jsp with the iterate tag? This would
help.


Regards,
Dirk

***************************************************************


mSanf> Dirk,

mSanf> I'm using tomcat 4.1.18 and i have asked tomcat user list before.
mSanf> It seem like the problem is caused by a logic iterate tag ...
mSanf> But till now, I haven't found the real cause.
mSanf> Meissa




mSanf> Dirk Markert <dirk.markert@dr-markert.de>
mSanf> 24/06/2003 08:45
mSanf> Veuillez ripondre ` "Struts Users Mailing List"



mSanf>         Pour :  "Struts Users Mailing List"
<struts-user@jakarta.apache.org>
mSanf>         cc :

mSanf>         Objet : Re: very strange errors (no collection found
series)


mSanf> Hallo Meissa,



mSanf> what version of tomcat are you using. Maybe you should also ask the
mSanf> tomcat list?

mSanf> Regards,
mSanf> Dirk

mSanf> ***************************************************************


mSanf>> I'm having a very strange behaviour of my application.
mSanf>> It has been tested in pre-production environnement and
mSanf>> everything worked fine.

mSanf>> When in production, it works but no fine at all !

mSanf>> The application works well for about five or six days and

mSanf>> when we try to access some pages, we get a no No collection found

mSanf> exception.

mSanf>> when we restart Tomcat(without making any change to the code)
every

mSanf> thing

mSanf>> works fine again.

mSanf>> here is an extract of the exception:

mSanf>> javax.servlet.ServletException: No collection found
mSanf>>         at

mSanf>>

mSanf>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530)
mSanf>>         at

mSanf>>

mSanf>
org.apache.jsp.listParamVL_jsp._jspService(listParamVL_jsp.java:374)
mSanf>>         at

mSanf>>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
mSanf>>         at

mSanf> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


mSanf>> As you can see it, the probleme seems to come from the

mSanf> listParamVL_jsp.


mSanf>> when I open the generated servlet file, at line 374, I have the

mSanf> code below

mSanf>> :

mSanf>>  if (_jspxFactory != null)

mSanf> _jspxFactory.releasePageContext(pageContext);

mSanf>> I really don't know what to do to determine the bug origin.

mSanf>> If someone has an idea or a suggestion, I would greatly appreciate

mSanf> it.

mSanf>> Meissa


mSanf>> L'integrite de ce message n'etant pas assuree sur internet,
Natexis
mSanf>> Banques Populaires ne peut etre tenu responsable de
mSanf>> son contenu. Toute utilisation ou diffusion non autorisee est
mSanf>> interdite. Si vous n'etes pas destinataire de ce message, merci de

mSanf> le
mSanf>> detruire et d'avertir l'expediteur.

mSanf>> The integrity of this message cannot be guaranteed
mSanf>> on the Internet. Natexis Banques Populaires can not therefore be
mSanf>> considered responsible for the contents.Any unauthorized use or

mSanf> dissemination is prohibited.
mSanf>> If you are not the intended recipient of this message, then please

mSanf> delete it and

mSanf>> notify the sender.


mSanf>
---------------------------------------------------------------------
mSanf> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
mSanf> For additional commands, e-mail:
struts-user-help@jakarta.apache.org





mSanf> L'integrite de ce message n'etant pas assuree sur internet, Natexis
mSanf> Banques Populaires ne peut etre tenu responsable de
mSanf> son contenu. Toute utilisation ou diffusion non autorisee est
mSanf> interdite. Si vous n'etes pas destinataire de ce message, merci de
le
mSanf> detruire et d'avertir l'expediteur.

mSanf> The integrity of this message cannot be guaranteed
mSanf> on the Internet. Natexis Banques Populaires can not therefore be
mSanf> considered responsible for the contents.Any unauthorized use or
dissemination is prohibited.
mSanf> If you are not the intended recipient of this message, then please
delete it and

mSanf> notify the sender.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org





L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is prohibited.
If you are not the intended recipient of this message, then please delete it and
notify the sender.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message