IOC Container manages the location,creation and instantiation of framework bean http://struts.apache.org/2.x/docs/spring-plugin.html
I would suggest configuring Spring IOC Container struts.objectFactory.spring.autoWire to either name,type,auto, or constructor Martin ______________________________________________ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 11 Apr 2009 21:36:41 -0700 > From: sh_thorn_b...@yahoo.com > Subject: struts 2 <s:iterator > To: user@struts.apache.org > > > in strut 1.X, > <logic:present name="XXXX"> > <logic:iterator name="XXXX">..... > </logic:present> > <logic:notPresent name="XXXX"> > search result not exist > </logic:present> > > but, in struts 2, > how can i use the same method to check <s:iterator is not empty? in > other words, i did not find equivalent <s:present to achive the same effect > as struts 1.x at above. > > please advise > > tks in advance > > john > > > _________________________________________________________________ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009