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]

Reply via email to