<datetime:currentdatetime dateOnly="<%= request.getParameter("dateonly") %>" />

May include <%= request.getParameter("dateonly") %> as attribute value like above, in custom tags(struts)?

eg...
Java Code:
     
/WEB-INF/tlds/datetime.tld
<tag>
<name>currentdatetime</name>
<tag-class>datetime.CurrentDateTimeTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>dateOnly</name>
<required>true</required>
<rtexpvalue>true</rtexpvalue>
<type>boolean</type>
</attribute>
</tag>