Given: <c:import url="import.jsp"> <c:param name="parm"> value </c:param> </c:import> Result: Validation error messages from tag library c null: Encountered illegal body of tag "c:import" tag, given its attributes. null: Encountered illegal body of tag "c:import" tag, given its attributes. This also happens for the RT based tag as well. It should also be noted that a similar issue will occur if the body content of the param tag is another action: <c:param name="parm"> <acme:action/> </c:param> However, the following *will* work: <c:param name="parm"> </c:param> JSTL PD spec clearly shows that the param action can set the value of the param via the body content.
Error info for when the param action has another tag in its body and embedded within an import action: Validation error messages from tag library c-rt null: Illegal child tag in "c-rt:import" tag: "acme:anviltag" tag Validation error messages from tag library c null: Illegal child tag in "c:import" tag: "acme:anviltag" tag
Jeez; I must have been distracted or drunk when I wrote the TLV code that checked <c:import>'s constraints; it's given us nothing but trouble. (This isn't the first bug about it.) I've now fixed it, hopefully for the last time. :-)