in your struts-default.xml or xwork-default.xml can you verify you have implemented ParametersInterceptor <interceptor name="params" class="com.opensymphony.xwork2.interceptor.ParametersInterceptor"/> in your <default> stack
? Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Tue, 26 Aug 2008 18:10:14 -0700 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: couldn't access s:include param using #parameters > > > Okay I have made 2 small jsp. I can't access parameters passed in from > s:include (struts 2.0.11.2) by #parameters.<parametername> OR > #parameters['<parametername>']. Am I doing something really wrong? > > quicktest.jsp: > <%@ taglib prefix="s" uri="/struts-tags" %> > > <s:include value="quicktestincluded.jsp"> > <s:param name="defaultValue">0</s:param> > </s:include> > > quicktestincluded.jsp: > <%@ taglib prefix="s" uri="/struts-tags" %> > > parameter with $ { } : ${param.defaultValue} <br> > parameter with s:property: <s:property value="#parameters.defaultValue"/> > > Now if I access quicktest.do. It give me the following: > parameter with $ { } : 0 > parameter with s:property: > > And if I access quicktestincluded.do like this > 'quicktestincluded.do?defaultValue=0' it would give me: > parameter with $ { } : 0 > parameter with s:property: 0 > > -- > View this message in context: > http://www.nabble.com/couldn%27t-access-s%3Ainclude-param-using--parameters-tp19173169p19173169.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Be the filmmaker you always wanted to be—learn how to burn a DVD with Windows®. http://clk.atdmt.com/MRT/go/108588797/direct/01/