Take a look at: http://struts.apache.org/2.x/docs/tag-syntax.html
There you can read "value is an Object !". So, you have to use the param tag like that: <s:param name="param" value="%{'666'}"/> if you do <s:param name="param" value="'666'"/> the tag tries to find a property named get666, that probably doesn't exist. I hope it helps. Ezequiel. -----Message d'origine----- De : Adrian Ost [mailto:[EMAIL PROTECTED] Envoyé : lundi 11 juin 2007 18:13 À : Struts Users Mailing List Objet : Re: S2 - parameter passing (newbie) question not ognl-syntax but these work: <s:property value="${param.param2}" /> <s:property value="${param['param2']}" /> <c:out value="${param['param2']}" /> Scott Trafton schrieb: > I am having difficulty accessing the parameters I am passing into the > <s:include..> tag. > > I have tried everything I can think of to get access to these > parameters. > Could anyone tell me where I am going wrong and how you are suppose to > access the parameter values. > > Thanks, > Scott > ============================================== > Page 1) > <s:push value="callPass"> > <s:include value="/web/common/callpassRow.jsp"> > <s:param name="param1" value="'01234'"/> > <s:param name="param2" value="'666'"/> > <s:param name="param3" value="'1'"/> > </s:include> > </s:push> > > ================================================ > > Page 2 )callPassRow.jsp to be included.. > > <[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %> > > <tr class="campaign-<s:property value="#parameters.param1"/> > id="sub-<s:property value="#parameters.param2"/>-<s:property > value="#parameters.param3"/>"> > > <td class="canFade indent2"><s:property value="name"/></td> > <td>...</td> > </tr> > > ============================================================= > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Adrian Ost MindMatics AG Marcel-Breuer-Str. 18 D-80807 München E-Mail: [EMAIL PROTECTED] Web: www.MindMatics.de ------------------------------------------------------------------------ Der Inhalt dieser E-Mail ist vertraulich. Sollte Ihnen die E-Mail irrtümlich zugesandt worden sein, bitten wir Sie, uns unverzüglich zu benachrichtigen und die E-Mail zu löschen. Ust-IdNr. DE211603599 Registergericht München: HRB 131369 Vorstand: Ingo Lippert, Christian Hinrichs, Oliver Beckmann, Armin Barbalata Aufsichtsrat: Martin Weber (Vorsitzender), Dr. Dirk Brückner (stellvertr. Vorsitzender) The contents of this e-mail are confidential. If you received this e-mail in error, please notify us immediately and delete the e-mail. ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]